优化报表中列的宽度,防止换行
This commit is contained in:
@@ -113,13 +113,13 @@
|
||||
return (t !== '合计') ? (parseInt(index) + 1) : t
|
||||
}
|
||||
},
|
||||
{title: '仓库', dataIndex: 'depotName', width: 100},
|
||||
{title: '仓库', dataIndex: 'depotName', width: 100, ellipsis:true},
|
||||
{title: '条码', dataIndex: 'barCode', width: 100},
|
||||
{title: '名称', dataIndex: 'mname', width: 100},
|
||||
{title: '规格', dataIndex: 'mstandard', width: 80},
|
||||
{title: '型号', dataIndex: 'mmodel', width: 80},
|
||||
{title: '扩展信息', dataIndex: 'materialOther', width: 100},
|
||||
{title: '单位', dataIndex: 'materialUnit', width: 60},
|
||||
{title: '名称', dataIndex: 'mname', width: 100, ellipsis:true},
|
||||
{title: '规格', dataIndex: 'mstandard', width: 80, ellipsis:true},
|
||||
{title: '型号', dataIndex: 'mmodel', width: 80, ellipsis:true},
|
||||
{title: '扩展信息', dataIndex: 'materialOther', width: 100, ellipsis:true},
|
||||
{title: '单位', dataIndex: 'materialUnit', width: 60, ellipsis:true},
|
||||
{title: '库存', dataIndex: 'currentNumber', sorter: (a, b) => a.currentNumber - b.currentNumber, width: 80},
|
||||
{title: '最低安全库存', dataIndex: 'lowSafeStock', sorter: (a, b) => a.lowSafeStock - b.lowSafeStock, width: 100},
|
||||
{title: '最高安全库存', dataIndex: 'highSafeStock', sorter: (a, b) => a.highSafeStock - b.highSafeStock, width: 100},
|
||||
|
||||
Reference in New Issue
Block a user