优化商品列的排版
This commit is contained in:
@@ -102,7 +102,7 @@
|
|||||||
categoryTree:[],
|
categoryTree:[],
|
||||||
columns: [
|
columns: [
|
||||||
{dataIndex: 'mBarCode', title: '条码', width: 100, align: 'left'},
|
{dataIndex: 'mBarCode', title: '条码', width: 100, align: 'left'},
|
||||||
{dataIndex: 'name', title: '名称', width: 120},
|
{dataIndex: 'name', title: '名称', width: 120, ellipsis:true},
|
||||||
{dataIndex: 'categoryName', title: '类别', width: 80},
|
{dataIndex: 'categoryName', title: '类别', width: 80},
|
||||||
{dataIndex: 'standard', title: '规格', width: 80},
|
{dataIndex: 'standard', title: '规格', width: 80},
|
||||||
{dataIndex: 'model', title: '型号', width: 80},
|
{dataIndex: 'model', title: '型号', width: 80},
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
{dataIndex: 'unit', title: '单位', width: 70, ellipsis:true},
|
{dataIndex: 'unit', title: '单位', width: 70, ellipsis:true},
|
||||||
{dataIndex: 'sku', title: '多属性', width: 80},
|
{dataIndex: 'sku', title: '多属性', width: 80},
|
||||||
{dataIndex: 'stock', title: '库存', width: 60},
|
{dataIndex: 'stock', title: '库存', width: 60},
|
||||||
{dataIndex: 'expand', title: '扩展信息', width: 80},
|
{dataIndex: 'expand', title: '扩展信息', width: 80, ellipsis:true},
|
||||||
{dataIndex: 'enableSerialNumber', title: '序列号', width: 60, align: "center",
|
{dataIndex: 'enableSerialNumber', title: '序列号', width: 60, align: "center",
|
||||||
scopedSlots: { customRender: 'customRenderEnableSerialNumber' }
|
scopedSlots: { customRender: 'customRenderEnableSerialNumber' }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -155,12 +155,12 @@
|
|||||||
// 表头
|
// 表头
|
||||||
columns: [
|
columns: [
|
||||||
{title: '条码', dataIndex: 'mBarCode', width: '8%'},
|
{title: '条码', dataIndex: 'mBarCode', width: '8%'},
|
||||||
{title: '名称', dataIndex: 'name', width: '10%'},
|
{title: '名称', dataIndex: 'name', width: '10%', ellipsis:true},
|
||||||
{title: '规格', dataIndex: 'standard', width: '6%'},
|
{title: '规格', dataIndex: 'standard', width: '6%', ellipsis:true},
|
||||||
{title: '型号', dataIndex: 'model', width: '6%'},
|
{title: '型号', dataIndex: 'model', width: '6%', ellipsis:true},
|
||||||
{title: '颜色', dataIndex: 'color', width: '4%'},
|
{title: '颜色', dataIndex: 'color', width: '4%', ellipsis:true},
|
||||||
{title: '类别', dataIndex: 'categoryName', width: '6%'},
|
{title: '类别', dataIndex: 'categoryName', width: '6%', ellipsis:true},
|
||||||
{title: '扩展信息', dataIndex: 'materialOther', width: '6%'},
|
{title: '扩展信息', dataIndex: 'materialOther', width: '6%', ellipsis:true},
|
||||||
{title: '单位', dataIndex: 'unit', width: '6%', ellipsis:true,
|
{title: '单位', dataIndex: 'unit', width: '6%', ellipsis:true,
|
||||||
customRender:function (t,r,index) {
|
customRender:function (t,r,index) {
|
||||||
if (r) {
|
if (r) {
|
||||||
|
|||||||
Reference in New Issue
Block a user