调整单据列表的操作按钮的位置,改到最左侧
This commit is contained in:
@@ -97,15 +97,15 @@
|
||||
return parseInt(index)+1;
|
||||
}
|
||||
},
|
||||
{title: '属性名', dataIndex: 'attributeName', width: 200},
|
||||
{title: '属性值(用竖线隔开)', dataIndex: 'attributeValue', width: 500},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
width: 100,
|
||||
align:"center",
|
||||
scopedSlots: { customRender: 'action' },
|
||||
}
|
||||
},
|
||||
{title: '属性名', dataIndex: 'attributeName', width: 200},
|
||||
{title: '属性值(用竖线隔开)', dataIndex: 'attributeValue', width: 500}
|
||||
],
|
||||
url: {
|
||||
list: "/materialAttribute/list",
|
||||
|
||||
@@ -226,7 +226,14 @@
|
||||
'purchaseDecimal','commodityDecimal','wholesaleDecimal','lowDecimal','enabled','enableSerialNumber','enableBatchNumber','action'],
|
||||
// 默认的列
|
||||
defColumns: [
|
||||
{title: '条码', dataIndex: 'mBarCode',scopedSlots: { customRender: 'customBarCode' }},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align:"center",
|
||||
width: 100,
|
||||
scopedSlots: { customRender: 'action' },
|
||||
},
|
||||
{title: '条码', dataIndex: 'mBarCode', width: 140, scopedSlots: { customRender: 'customBarCode' }},
|
||||
{title: '名称', dataIndex: 'name'},
|
||||
{title: '规格', dataIndex: 'standard'},
|
||||
{title: '型号', dataIndex: 'model'},
|
||||
@@ -261,13 +268,6 @@
|
||||
},
|
||||
{title: '状态', dataIndex: 'enabled', align: "center", width: 60,
|
||||
scopedSlots: { customRender: 'customRenderEnabled' }
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align:"center",
|
||||
width: 100,
|
||||
scopedSlots: { customRender: 'action' },
|
||||
}
|
||||
],
|
||||
url: {
|
||||
|
||||
@@ -85,20 +85,20 @@
|
||||
return parseInt(index)+1;
|
||||
}
|
||||
},
|
||||
{title: '名称', dataIndex: 'nativeName', width: 100},
|
||||
{
|
||||
title: '是否启用', dataIndex: 'enabled', width: 100, align: "center",
|
||||
scopedSlots: { customRender: 'customRenderFlag' }
|
||||
},
|
||||
{title: '排序', dataIndex: 'sort', width: 100},
|
||||
{title: '别名', dataIndex: 'anotherName', width: 100},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
width: 200,
|
||||
align:"center",
|
||||
scopedSlots: { customRender: 'action' },
|
||||
}
|
||||
},
|
||||
{title: '名称', dataIndex: 'nativeName', width: 100},
|
||||
{
|
||||
title: '是否启用', dataIndex: 'enabled', width: 100, align: "center",
|
||||
scopedSlots: { customRender: 'customRenderFlag' }
|
||||
},
|
||||
{title: '排序', dataIndex: 'sort', width: 100},
|
||||
{title: '别名', dataIndex: 'anotherName', width: 100}
|
||||
],
|
||||
url: {
|
||||
list: "/materialProperty/list",
|
||||
|
||||
Reference in New Issue
Block a user