优化报表中列的宽度,防止换行

This commit is contained in:
神话
2022-04-30 14:56:59 +08:00
parent a7251c115a
commit 1e5e5e2a9d
10 changed files with 57 additions and 57 deletions

View File

@@ -150,11 +150,11 @@
}
},
{title: '条码', dataIndex: 'barCode', width: 120},
{title: '名称', dataIndex: 'mName', width: 120},
{title: '规格', dataIndex: 'standard', width: 100},
{title: '型号', dataIndex: 'model', width: 100},
{title: '类型', dataIndex: 'categoryName', width: 120},
{title: '单位', dataIndex: 'materialUnit', width: 120},
{title: '名称', dataIndex: 'mName', width: 120, ellipsis:true},
{title: '规格', dataIndex: 'standard', width: 100, ellipsis:true},
{title: '型号', dataIndex: 'model', width: 100, ellipsis:true},
{title: '类型', dataIndex: 'categoryName', width: 120, ellipsis:true},
{title: '单位', dataIndex: 'materialUnit', width: 120, ellipsis:true},
{title: '入库数量', dataIndex: 'numSum', sorter: (a, b) => a.numSum - b.numSum, width: 120},
{title: '入库金额', dataIndex: 'priceSum', sorter: (a, b) => a.priceSum - b.priceSum, width: 120}
],