kts-invoice-details
TypeScript icon, indicating that this package has built-in type declarations

0.2.47 • Public • Published

xui

介绍

  • 发票详情 ---
    此页面由多个子组件组合而成,发票详情,单据关联,单据行关联。

gitlab 地址

http://gitlab.kingxunlian.com/front-end/component/kts-Invoice-details

使用方法

/**
 * uuid是必须传入的 单据uuid 子组件内部会用来查询单据详情,用来渲染里面内容的。
 * fileTo 这个是用来跳转到附件页面的 此函数默认有一个id参数,用来跳转页面用。
 * actions 是发票行的各种自定义的操作dom结构,比如你可以传入如下代码:
 * <span onClick={() => this.onShowConnectLine(record)}>关联</span>
 * close 是单据关联的关闭函数,这个采用模态框的visible来关闭显示关联弹框
 * itemLine 是和行关联组件(ConnectLinePanel)特有的,行关联存在多条行数据。只有当你的发票详情有行关联操作的时候会使用,表示当前被选中的行数据
*/
<InvoicePanel uuid={documentUuid} fileTo={this.linkTo} actions={this.actionHander} />
<ConnectPanel uuid={documentUuid} close={this.onClose} />
<ConnectLinePanel uuid={documentUuid} itemLine={this.state.itemLine}  onCloseConnectLine={this.onCloseConnectLine} />

Readme

Keywords

none

Package Sidebar

Install

npm i kts-invoice-details

Weekly Downloads

2

Version

0.2.47

License

none

Unpacked Size

391 kB

Total Files

192

Last publish

Collaborators

  • kingxunlian