给报表里面的数值增加排序功能
This commit is contained in:
@@ -153,9 +153,9 @@
|
||||
{title: '规格', dataIndex: 'standard', width: 50},
|
||||
{title: '型号', dataIndex: 'model', width: 50},
|
||||
{title: '单位', dataIndex: 'mUnit', width: 50},
|
||||
{title: '数量', dataIndex: 'operNumber', width: 60},
|
||||
{title: '单价', dataIndex: 'unitPrice', width: 60},
|
||||
{title: '金额', dataIndex: 'allPrice', width: 60},
|
||||
{title: '数量', dataIndex: 'operNumber', sorter: (a, b) => a.operNumber - b.operNumber, width: 60},
|
||||
{title: '单价', dataIndex: 'unitPrice', sorter: (a, b) => a.unitPrice - b.unitPrice, width: 60},
|
||||
{title: '金额', dataIndex: 'allPrice', sorter: (a, b) => a.allPrice - b.allPrice, width: 60},
|
||||
{title: '调出仓库', dataIndex: 'dname', width: 80},
|
||||
{title: '调入仓库', dataIndex: 'sname', width: 80},
|
||||
{title: '调拨日期', dataIndex: 'operTime', width: 80},
|
||||
|
||||
Reference in New Issue
Block a user