-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import type { ISearchTableProps } from '@schema-render/search-table-react' | ||
|
||
const columns: ISearchTableProps['table']['columns'] = [ | ||
{ | ||
title: '供应商名称', | ||
dataIndex: 'supplier_name', | ||
width: 130, | ||
}, | ||
{ | ||
title: '供应商编码', | ||
dataIndex: 'supplier_code', | ||
}, | ||
{ | ||
title: '单据编号', | ||
dataIndex: 'bill_no', | ||
width: 130, | ||
}, | ||
{ | ||
title: '单据信息', | ||
children: [ | ||
{ | ||
title: '单据类型', | ||
dataIndex: 'bill_type', | ||
}, | ||
{ | ||
title: '单据日期', | ||
dataIndex: 'bill_date', | ||
width: 120, | ||
}, | ||
{ | ||
title: '单据状态', | ||
dataIndex: 'bill_status', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: '制单人', | ||
dataIndex: 'operator', | ||
}, | ||
{ | ||
title: '商品信息', | ||
children: [ | ||
{ | ||
title: '商品名称', | ||
dataIndex: 'goods_name', | ||
width: 130, | ||
}, | ||
{ | ||
title: '商品价格(元)', | ||
dataIndex: 'goods_price', | ||
}, | ||
{ | ||
title: '商品编码', | ||
dataIndex: 'goods_code', | ||
width: 130, | ||
}, | ||
{ | ||
title: '商品分类', | ||
dataIndex: 'goods_category', | ||
}, | ||
{ | ||
title: '商品日期', | ||
dataIndex: 'goods_date', | ||
width: 120, | ||
}, | ||
], | ||
}, | ||
] | ||
|
||
export default columns |