给报表里面的数值增加排序功能

This commit is contained in:
季圣华
2021-10-13 23:57:30 +08:00
parent 5ca1dc9ef6
commit 9e738e1bc1
12 changed files with 39 additions and 40 deletions

View File

@@ -135,8 +135,8 @@
{title: '型号', dataIndex: 'model', width: 100},
{title: '类型', dataIndex: 'categoryName', width: 120},
{title: '单位', dataIndex: 'materialUnit', width: 120},
{title: '入库数量', dataIndex: 'numSum', width: 120},
{title: '入库金额', dataIndex: 'priceSum', width: 120}
{title: '入库数量', dataIndex: 'numSum', sorter: (a, b) => a.numSum - b.numSum, width: 120},
{title: '入库金额', dataIndex: 'priceSum', sorter: (a, b) => a.priceSum - b.priceSum, width: 120}
],
url: {
list: "/depotHead/findInOutMaterialCount",