|
@ -200,7 +200,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
editOptions: {}, |
|
|
editOptions: {}, |
|
|
CreateForm: [ |
|
|
CreateForm: [ |
|
|
{ type: "input", label: "物料代码", prop: 'code', colSpan: 12 }, |
|
|
{ type: "input", label: "物料代码", prop: 'code', colSpan: 12, validType:'numberLetter' }, |
|
|
{ type: "input", label: "物料名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "物料名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "物料描述", prop: "desc1", colSpan: 12 }, |
|
|
{ type: "input", label: "物料描述", prop: "desc1", colSpan: 12 }, |
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
@ -230,7 +230,7 @@ export default { |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
], |
|
|
], |
|
|
editForm: [ |
|
|
editForm: [ |
|
|
{ type: "input", label: "物料代码", prop: 'code', disabled: true, colSpan: 12 }, |
|
|
{ type: "input", label: "物料代码", prop: 'code', disabled: true, colSpan: 12, validType:'numberLetter' }, |
|
|
{ type: "input", label: "物料名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "物料名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "物料描述", prop: "desc1", colSpan: 12 }, |
|
|
{ type: "input", label: "物料描述", prop: "desc1", colSpan: 12 }, |
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|
{ type: "select", label: "状态", prop: "status", options: "itemStatus", colSpan: 12 }, |
|
|