给报表页面增加部分排序

This commit is contained in:
jishenghua
2023-12-25 23:45:03 +08:00
parent 313f101a82
commit faf231b297
13 changed files with 19 additions and 19 deletions

View File

@@ -151,7 +151,7 @@
return (t !== '合计') ? (parseInt(index) + 1) : t
}
},
{title: '条码', dataIndex: 'barCode', width: 120},
{title: '条码', dataIndex: 'barCode', sorter: (a, b) => a.barCode - b.barCode, width: 120},
{title: '名称', dataIndex: 'mName', width: 120, ellipsis:true},
{title: '规格', dataIndex: 'standard', width: 100, ellipsis:true},
{title: '型号', dataIndex: 'model', width: 100, ellipsis:true},