优化商品列的宽度

This commit is contained in:
神话
2022-05-06 20:04:02 +08:00
parent 664f50a7b5
commit ce896e105d
3 changed files with 33 additions and 33 deletions

View File

@@ -22,7 +22,7 @@
props: {
modalWidth: {
type: Number,
default: 1300,
default: 1450,
required: false
},
value: {

View File

@@ -101,20 +101,20 @@
},
categoryTree:[],
columns: [
{dataIndex: 'mBarCode', title: '条码', width: 100, align: 'left', ellipsis:true},
{dataIndex: 'name', title: '名称', width: 120, ellipsis:true},
{dataIndex: 'categoryName', title: '类别', width: 80, ellipsis:true},
{dataIndex: 'standard', title: '规格', width: 80, ellipsis:true},
{dataIndex: 'model', title: '型号', width: 80, ellipsis:true},
{dataIndex: 'color', title: '颜色', width: 80, ellipsis:true},
{dataIndex: 'unit', title: '单位', width: 70, ellipsis:true},
{dataIndex: 'sku', title: '多属性', width: 80, ellipsis:true},
{dataIndex: 'stock', title: '库存', width: 60},
{dataIndex: 'expand', title: '扩展信息', width: 80, ellipsis:true},
{dataIndex: 'enableSerialNumber', title: '序列号', width: 60, align: "center",
{dataIndex: 'mBarCode', title: '条码', align: 'left'},
{dataIndex: 'name', title: '名称'},
{dataIndex: 'categoryName', title: '类别'},
{dataIndex: 'standard', title: '规格'},
{dataIndex: 'model', title: '型号'},
{dataIndex: 'color', title: '颜色'},
{dataIndex: 'unit', title: '单位'},
{dataIndex: 'sku', title: '多属性'},
{dataIndex: 'stock', title: '库存'},
{dataIndex: 'expand', title: '扩展信息'},
{dataIndex: 'enableSerialNumber', title: '序列号', align: "center",
scopedSlots: { customRender: 'customRenderEnableSerialNumber' }
},
{dataIndex: 'enableBatchNumber', title: '批号', width: 50, align: "center",
{dataIndex: 'enableBatchNumber', title: '批号', align: "center",
scopedSlots: { customRender: 'customRenderEnableBatchNumber' }
}
],