优化报表中列的宽度,防止换行
This commit is contained in:
@@ -147,17 +147,17 @@
|
||||
}
|
||||
},
|
||||
{title: '条码', dataIndex: 'mBarCode', width: 80},
|
||||
{title: '名称', dataIndex: 'name', width: 140},
|
||||
{title: '规格', dataIndex: 'standard', width: 80},
|
||||
{title: '型号', dataIndex: 'model', width: 80},
|
||||
{title: '颜色', dataIndex: 'color', width: 80},
|
||||
{title: '类别', dataIndex: 'categoryName', width: 80},
|
||||
{title: '单位', dataIndex: 'unitName', width: 60},
|
||||
{title: '名称', dataIndex: 'name', width: 140, ellipsis:true},
|
||||
{title: '规格', dataIndex: 'standard', width: 80, ellipsis:true},
|
||||
{title: '型号', dataIndex: 'model', width: 80, ellipsis:true},
|
||||
{title: '颜色', dataIndex: 'color', width: 80, ellipsis:true},
|
||||
{title: '类别', dataIndex: 'categoryName', width: 80, ellipsis:true},
|
||||
{title: '单位', dataIndex: 'unitName', width: 60, ellipsis:true},
|
||||
{title: '单价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60},
|
||||
{title: '初始库存', dataIndex: 'initialStock', sorter: (a, b) => a.initialStock - b.initialStock, width: 60},
|
||||
{title: '库存', dataIndex: 'currentStock', sorter: (a, b) => a.currentStock - b.currentStock, width: 60},
|
||||
{title: '库存金额', dataIndex: 'currentStockPrice', sorter: (a, b) => a.currentStockPrice - b.currentStockPrice, width: 80},
|
||||
{ title: '库存流水', dataIndex: 'action', align:"center", width: 100,
|
||||
{title: '库存流水', dataIndex: 'action', align:"center", width: 100,
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user