|
|
@ -202,10 +202,10 @@ export default { |
|
|
|
}, |
|
|
|
editOptions: {}, |
|
|
|
CreateForm: [ |
|
|
|
{ type: "input", label: "物料代码", prop: 'code', colSpan: 12, validType:'numberLetter' }, |
|
|
|
{ type: "input", label: "物料名称", prop: "name", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物料描述1", prop: "desc1", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物料描述2", prop: "desc2", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物品代码", prop: 'code', colSpan: 12, validType:'numberLetter' }, |
|
|
|
{ type: "input", label: "物品名称", prop: "name", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物品描述1", prop: "desc1", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物品描述2", prop: "desc2", colSpan: 12 }, |
|
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
|
{ type: "filterSelect", label: "计量单位", prop: "basicUom", optionsLabel: "description", optionsValue: "name", |
|
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/uom")}, |
|
|
@ -230,15 +230,15 @@ export default { |
|
|
|
{ type: "input", label: "配置", prop: 'configuration', colSpan: 12 }, |
|
|
|
{ type: "input", label: "版本", prop: 'version', colSpan: 12 }, |
|
|
|
{ type: "input", label: "工程变更", prop: 'eco', colSpan: 12 }, |
|
|
|
{ type: "select", label: "是否虚拟物料", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
|
{ type: "select", label: "是否虚拟物品", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
|
{ type: "input", label: "标包数", prop: 'stdPackQty', validType:'number', colSpan: 12 }, |
|
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
|
], |
|
|
|
editForm: [ |
|
|
|
{ type: "input", label: "物料代码", prop: 'code', disabled: true, colSpan: 12, validType:'numberLetter' }, |
|
|
|
{ type: "input", label: "物料名称", prop: "name", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物料描述1", prop: "desc1", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物料描述2", prop: "desc2", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物品代码", prop: 'code', disabled: true, colSpan: 12, validType:'numberLetter' }, |
|
|
|
{ type: "input", label: "物品名称", prop: "name", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物品描述1", prop: "desc1", colSpan: 12 }, |
|
|
|
{ type: "input", label: "物品描述2", prop: "desc2", colSpan: 12 }, |
|
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
|
{ type: "filterSelect", label: "计量单位", prop: "basicUom", optionsLabel: "description", optionsValue: "name", |
|
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/uom")}, |
|
|
@ -263,7 +263,7 @@ export default { |
|
|
|
{ type: "input", label: "配置", prop: 'configuration', colSpan: 12 }, |
|
|
|
{ type: "input", label: "版本", prop: 'version', colSpan: 12 }, |
|
|
|
{ type: "input", label: "工程变更", prop: 'eco', colSpan: 12 }, |
|
|
|
{ type: "select", label: "是否虚拟物料", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
|
{ type: "select", label: "是否虚拟物品", prop: "isPhantom", options: "whetherOrNot", colSpan: 12 }, |
|
|
|
{ type: "input", label: "标包数", prop: 'stdPackQty', validType:'number', colSpan: 12 }, |
|
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
|
], |
|
|
|