|
@ -156,36 +156,36 @@ export default { |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/Item-Basic")}, |
|
|
focus: (type,val) => { return this.getFilterList(type, val, "basedata/Item-Basic")}, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/Item-Basic', 'ItemBasic', '物品选择', this.CreateFormData) }, colSpan: 12 }, |
|
|
searchButton: (val) => { this.showSerarchPage(val, 'basedata/Item-Basic', 'ItemBasic', '物品选择', this.CreateFormData) }, colSpan: 12 }, |
|
|
{ type: "inputNumber", label: "子物品用量", prop: 'componentQty', colSpan: 12, min:1, pointNumberFixed: 2 }, |
|
|
{ type: "inputNumber", label: "子物品用量", prop: 'componentQty', colSpan: 12, min:1, pointNumberFixed: 2 }, |
|
|
{ type: "input", label: "子物品用量单位", prop: 'componentUom', disabled:"true", colSpan: 12 }, |
|
|
// { type: "input", label: "子物品用量单位", prop: 'componentUom', disabled:"true", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", colSpan: 12 }, |
|
|
{ type: "input", label: "ERP工序", prop: "erpOp", colSpan: 12 }, |
|
|
// { type: "input", label: "ERP工序", prop: "erpOp", colSpan: 12 }, |
|
|
{ type: "input", label: "制造工序", prop: "mfgOp", colSpan: 12 }, |
|
|
// { type: "input", label: "制造工序", prop: "mfgOp", colSpan: 12 }, |
|
|
{ type: "input", label: "层级", disabled:"true", prop: "layer", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "层级", disabled:"true", prop: "layer", colSpan: 12, validType:'number' }, |
|
|
{ type: "select", label: "配送方式", prop: "distributionType", options: "distributionType", colSpan: 12 }, |
|
|
// { type: "select", label: "配送方式", prop: "distributionType", options: "distributionType", colSpan: 12 }, |
|
|
{ type: "select", label: "取整方式", prop: "truncType", options: "truncType", colSpan: 12 }, |
|
|
// { type: "select", label: "取整方式", prop: "truncType", options: "truncType", colSpan: 12 }, |
|
|
{ type: "select", label: "计划拆分规则", prop: "plannedSplitRule", options: "plannedSplitRule", colSpan: 12 }, |
|
|
// { type: "select", label: "计划拆分规则", prop: "plannedSplitRule", options: "plannedSplitRule", colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
], |
|
|
], |
|
|
editForm: [ |
|
|
editForm: [ |
|
|
{ type: "input", label: "父物品号", prop: "product",disabled:"true", colSpan: 12 }, |
|
|
{ type: "input", label: "父物品号", prop: "product",disabled:"true", colSpan: 12 }, |
|
|
{ type: "input", label: "子物品号", prop: 'component', disabled:"true", colSpan: 12 }, |
|
|
{ type: "input", label: "子物品号", prop: 'component', disabled:"true", colSpan: 12 }, |
|
|
{ type: "inputNumber", label: "子物品用量", prop: 'componentQty', colSpan: 12, min:1, pointNumberFixed: 2 }, |
|
|
{ type: "inputNumber", label: "子物品用量", prop: 'componentQty', colSpan: 12, min:1, pointNumberFixed: 2 }, |
|
|
{ type: "input", label: "子物品用量单位", prop: 'componentUom', colSpan: 12 }, |
|
|
// { type: "input", label: "子物品用量单位", prop: 'componentUom', colSpan: 12 }, |
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "开始时间", prop: "beginTime", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", colSpan: 12 }, |
|
|
{ type: "dateTime", label: "结束时间", prop: "endTime", colSpan: 12 }, |
|
|
{ type: "input", label: "ERP工序", prop: "erpOp", colSpan: 12 }, |
|
|
// { type: "input", label: "ERP工序", prop: "erpOp", colSpan: 12 }, |
|
|
{ type: "input", label: "制造工序", prop: "mfgOp", colSpan: 12 }, |
|
|
// { type: "input", label: "制造工序", prop: "mfgOp", colSpan: 12 }, |
|
|
{ type: "input", label: "层级", disabled:"true", prop: "layer", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "层级", disabled:"true", prop: "layer", colSpan: 12, validType:'number' }, |
|
|
{ type: "select", label: "配送方式", prop: "distributionType", options: "distributionType", colSpan: 12 }, |
|
|
// { type: "select", label: "配送方式", prop: "distributionType", options: "distributionType", colSpan: 12 }, |
|
|
{ type: "select", label: "取整方式", prop: "truncType", options: "truncType", colSpan: 12 }, |
|
|
// { type: "select", label: "取整方式", prop: "truncType", options: "truncType", colSpan: 12 }, |
|
|
{ type: "select", label: "计划拆分规则", prop: "plannedSplitRule", options: "plannedSplitRule", colSpan: 12 }, |
|
|
// { type: "select", label: "计划拆分规则", prop: "plannedSplitRule", options: "plannedSplitRule", colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
], |
|
|
], |
|
|
editRules: { |
|
|
editRules: { |
|
|
cerateRule: { |
|
|
cerateRule: { |
|
|
componentQty: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
componentQty: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
componentUom: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
// componentUom: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
beginTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
beginTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
endTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
endTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
product: [{ required: true, trigger: "blur", message: "不可为空" }], |
|
|
product: [{ required: true, trigger: "blur", message: "不可为空" }], |
|
@ -193,7 +193,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
editRule: { |
|
|
editRule: { |
|
|
componentQty: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
componentQty: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
componentUom: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
// componentUom: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
beginTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
beginTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
endTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
endTime: [{ required: true, message: '不可为空', trigger: 'blur' },], |
|
|
} |
|
|
} |
|
|