商品单据宽度优化

This commit is contained in:
季圣华
2021-09-05 00:44:32 +08:00
parent e77b939111
commit 0ed2101e74

View File

@@ -154,13 +154,13 @@
// 表头 // 表头
columns: [ columns: [
{title: '条码', dataIndex: 'mBarCode', width: '8%'}, {title: '条码', dataIndex: 'mBarCode', width: '8%'},
{title: '名称', dataIndex: 'name', width: '8%'}, {title: '名称', dataIndex: 'name', width: '10%'},
{title: '规格', dataIndex: 'standard', width: '5%'}, {title: '规格', dataIndex: 'standard', width: '6%'},
{title: '型号', dataIndex: 'model', width: '5%'}, {title: '型号', dataIndex: 'model', width: '6%'},
{title: '颜色', dataIndex: 'color', width: '5%'}, {title: '颜色', dataIndex: 'color', width: '4%'},
{title: '类别', dataIndex: 'categoryName', width: '5%'}, {title: '类别', dataIndex: 'categoryName', width: '6%'},
{title: '扩展信息', dataIndex: 'materialOther', width: '6%'}, {title: '扩展信息', dataIndex: 'materialOther', width: '6%'},
{title: '单位', dataIndex: 'unit', width: '6%', {title: '单位', dataIndex: 'unit', width: '5%',
scopedSlots: { customRender: 'customRenderUnit' } scopedSlots: { customRender: 'customRenderUnit' }
}, },
{title: '安全存量', dataIndex: 'safetyStock', width: '5%'}, {title: '安全存量', dataIndex: 'safetyStock', width: '5%'},
@@ -179,7 +179,7 @@
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
align:"center", align:"center",
width: '10%', width: '8%',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
} }
], ],