给报表页面增加部分排序

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

@@ -186,7 +186,7 @@
title: '单据编号', dataIndex: 'number', width: 100,
scopedSlots: { customRender: 'numberCustomRender' },
},
{title: '条码', dataIndex: 'barCode', width: 80},
{title: '条码', dataIndex: 'barCode', sorter: (a, b) => a.barCode - b.barCode, width: 80},
{title: '名称', dataIndex: 'mname', width: 120, ellipsis:true},
{title: '规格', dataIndex: 'standard', width: 60, ellipsis:true},
{title: '型号', dataIndex: 'model', width: 60, ellipsis:true},