给报表页面增加部分排序

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

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