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

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

@@ -174,17 +174,17 @@
scopedSlots: { customRender: 'numberCustomRender' },
},
{title: '条码', dataIndex: 'barCode', width: 80},
{title: '名称', dataIndex: 'mname', width: 120},
{title: '规格', dataIndex: 'standard', width: 60},
{title: '型号', dataIndex: 'model', width: 60},
{title: '单位', dataIndex: 'mUnit', width: 60},
{title: '名称', dataIndex: 'mname', width: 120, ellipsis:true},
{title: '规格', dataIndex: 'standard', width: 60, ellipsis:true},
{title: '型号', dataIndex: 'model', width: 60, ellipsis:true},
{title: '单位', dataIndex: 'mUnit', width: 60, ellipsis:true},
{title: '数量', dataIndex: 'operNumber', sorter: (a, b) => a.operNumber - b.operNumber, width: 60},
{title: '单价', dataIndex: 'unitPrice', sorter: (a, b) => a.operNumber - b.operNumber, width: 60},
{title: '金额', dataIndex: 'allPrice', sorter: (a, b) => a.operNumber - b.operNumber, width: 60},
{title: '客户', dataIndex: 'sname', width: 80},
{title: '仓库', dataIndex: 'dname', width: 80},
{title: '客户', dataIndex: 'sname', width: 80, ellipsis:true},
{title: '仓库', dataIndex: 'dname', width: 80, ellipsis:true},
{title: '出库日期', dataIndex: 'operTime', width: 80},
{title: '备注', dataIndex: 'newRemark', width: 100}
{title: '备注', dataIndex: 'newRemark', width: 100, ellipsis:true}
],
url: {
list: "/depotHead/findInDetail",