|
@ -133,7 +133,7 @@ export default { |
|
|
//新增 |
|
|
//新增 |
|
|
CreateFormData: { |
|
|
CreateFormData: { |
|
|
remark: null, |
|
|
remark: null, |
|
|
warehouseCode: null, |
|
|
warehouseCode: localStorage.getItem('warehouseCode'), |
|
|
name: null, |
|
|
name: null, |
|
|
description: null, |
|
|
description: null, |
|
|
type: 1, |
|
|
type: 1, |
|
@ -187,7 +187,7 @@ export default { |
|
|
//编辑 |
|
|
//编辑 |
|
|
editFormData: { |
|
|
editFormData: { |
|
|
remark: null, |
|
|
remark: null, |
|
|
warehouseCode: null, |
|
|
warehouseCode: localStorage.getItem('warehouseCode'), |
|
|
name: null, |
|
|
name: null, |
|
|
description: null, |
|
|
description: null, |
|
|
type: 1, |
|
|
type: 1, |
|
@ -237,20 +237,20 @@ export default { |
|
|
{ type: "input", label: "名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "名称", prop: "name", colSpan: 12 }, |
|
|
// { type: "input", label: "库位数量", valueType: Number, prop: "qty", colSpan: 12 }, |
|
|
// { type: "input", label: "库位数量", valueType: Number, prop: "qty", colSpan: 12 }, |
|
|
// { type: "select", label: "库位数量单位", prop: "uom", options: "qtyUomType", colSpan: 12 }, |
|
|
// { type: "select", label: "库位数量单位", prop: "uom", options: "qtyUomType", colSpan: 12 }, |
|
|
{ type: "select", label: "类型", prop: "type", options: "locationType", colSpan: 12 }, |
|
|
{ type: "select", label: "库位类型", prop: "type", options: "locationType", colSpan: 12 }, |
|
|
{ type: "input", label: "行号", prop: "rowCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "行号", prop: "rowCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "列号", prop: "columnCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "列号", prop: "columnCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "select", label: "默认库存状态", prop: "defaultInventoryStatus", options: "inventoryStage", colSpan: 12 }, |
|
|
{ type: "select", label: "默认库存状态", prop: "defaultInventoryStatus", options: "inventoryStage", colSpan: 12 }, |
|
|
{ type: "input", label: "拣料优先级", prop: "pickPriority", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "拣料优先级", prop: "pickPriority", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "拣料顺序", prop: "pickOrder", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "拣料顺序", prop: "pickOrder", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "货架号", prop: "shelfCode", colSpan: 12 }, |
|
|
{ type: "input", label: "货架号", prop: "shelfCode", colSpan: 12 }, |
|
|
{ type: "input", label: "ERP库位", prop: "erpLocationCode", colSpan: 12 }, |
|
|
{ type: "input", label: "ERP系统库位代码", prop: "erpLocationCode", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混物品", prop: "enableMixItem", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混物品", prop: "enableMixItem", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混批次", prop: "enableMixLot", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混批次", prop: "enableMixLot", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混状态", prop: "enableMixStatus", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混状态", prop: "enableMixStatus", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否负库存", prop: "enableNegative", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否负库存", prop: "enableNegative", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否保留零库存", prop: "enableKeepZero", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否保留零库存", prop: "enableKeepZero", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否盘点", prop: "enableOpportunityCount", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否动态盘点", prop: "enableOpportunityCount", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否领料", prop: "enablePick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否领料", prop: "enablePick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否过量领料", prop: "enableOverPick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否过量领料", prop: "enableOverPick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否整包存储", prop: "enableWholeStore", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否整包存储", prop: "enableWholeStore", options: "whetherOrNot", colSpan: 12 }, |
|
@ -260,12 +260,13 @@ export default { |
|
|
{ type: "select", label: "是否退货给供应商", prop: "enableReturnToSupplier", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否退货给供应商", prop: "enableReturnToSupplier", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否接收客户退货", prop: "enableReturnFromCustomer", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否接收客户退货", prop: "enableReturnFromCustomer", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否拆箱", prop: "enableSplitBox", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否拆箱", prop: "enableSplitBox", options: "whetherOrNot", colSpan: 12 }, |
|
|
|
|
|
{ type: "select", label: "是否拆托", prop: "enableSplitPallet", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否混物品", prop: "locSwitch", showProp: "enableMixItem", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否混物品", prop: "locSwitch", showProp: "enableMixItem", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否保留零库存", prop: "locSwitch", showProp: "enableKeepZero", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否保留零库存", prop: "locSwitch", showProp: "enableKeepZero", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否盘点", prop: "locSwitch", showProp: "enableOpportunityCount", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否动态盘点", prop: "locSwitch", showProp: "enableOpportunityCount", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否领料", prop: "locSwitch", showProp: "enablePick", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否领料", prop: "locSwitch", showProp: "enablePick", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否过量领料", prop: "locSwitch", showProp: "enableOverPick", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否过量领料", prop: "locSwitch", showProp: "enableOverPick", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否整包存储", prop: "locSwitch", showProp: "enableWholeStore", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否整包存储", prop: "locSwitch", showProp: "enableWholeStore", options: "whetherOrNot", colSpan: 12 }, |
|
@ -277,6 +278,7 @@ export default { |
|
|
// { type: "objectSelect", label: "是否拆箱", prop: "locSwitch", showProp: "enableSplitBox", options: "whetherOrNot", colSpan: 12 }, |
|
|
// { type: "objectSelect", label: "是否拆箱", prop: "locSwitch", showProp: "enableSplitBox", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "input", label: "描述", prop: "description", colSpan: 12 }, |
|
|
{ type: "input", label: "描述", prop: "description", colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
|
|
|
{ type: "input", label: "仓库代码", prop: 'warehouseCode', disabled:"true", colSpan: 12 }, |
|
|
], |
|
|
], |
|
|
editForm: [ |
|
|
editForm: [ |
|
|
{ type: "input", label: "库位代码", prop: "code", disabled:"true", colSpan: 12 }, |
|
|
{ type: "input", label: "库位代码", prop: "code", disabled:"true", colSpan: 12 }, |
|
@ -292,20 +294,20 @@ export default { |
|
|
{ type: "input", label: "名称", prop: "name", colSpan: 12 }, |
|
|
{ type: "input", label: "名称", prop: "name", colSpan: 12 }, |
|
|
// { type: "input", label: "库位数量", valueType: Number, prop: "qty", colSpan: 12 }, |
|
|
// { type: "input", label: "库位数量", valueType: Number, prop: "qty", colSpan: 12 }, |
|
|
// { type: "select", label: "库位数量单位", prop: "uom", options: "qtyUomType", colSpan: 12 }, |
|
|
// { type: "select", label: "库位数量单位", prop: "uom", options: "qtyUomType", colSpan: 12 }, |
|
|
{ type: "select", label: "类型", prop: "type", options: "locationType", clearable: true, colSpan: 12 }, |
|
|
{ type: "select", label: "库位类型", prop: "type", options: "locationType", clearable: true, colSpan: 12 }, |
|
|
{ type: "input", label: "行号", prop: "rowCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "行号", prop: "rowCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "列号", prop: "columnCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "列号", prop: "columnCode", colSpan: 12, validType:'number' }, |
|
|
{ type: "select", label: "默认库存状态", prop: "defaultInventoryStatus", options: "inventoryStage", colSpan: 12 }, |
|
|
{ type: "select", label: "默认库存状态", prop: "defaultInventoryStatus", options: "inventoryStage", colSpan: 12 }, |
|
|
{ type: "input", label: "拣料优先级", prop: "pickPriority", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "拣料优先级", prop: "pickPriority", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "拣料顺序", prop: "pickOrder", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "拣料顺序", prop: "pickOrder", colSpan: 12, validType:'number' }, |
|
|
{ type: "input", label: "货架号", prop: "shelfCode", colSpan: 12 }, |
|
|
{ type: "input", label: "货架号", prop: "shelfCode", colSpan: 12 }, |
|
|
{ type: "input", label: "ERP库位", prop: "erpLocationCode", colSpan: 12 }, |
|
|
{ type: "input", label: "ERP系统库位代码", prop: "erpLocationCode", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混物品", prop: "enableMixItem", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混物品", prop: "enableMixItem", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混批次", prop: "enableMixLot", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混批次", prop: "enableMixLot", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混状态", prop: "enableMixStatus", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否混状态", prop: "enableMixStatus", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否负库存", prop: "enableNegative", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否负库存", prop: "enableNegative", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否保留零库存", prop: "enableKeepZero", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否保留零库存", prop: "enableKeepZero", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否盘点", prop: "enableOpportunityCount", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否动态盘点", prop: "enableOpportunityCount", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否领料", prop: "enablePick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否领料", prop: "enablePick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否过量领料", prop: "enableOverPick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否过量领料", prop: "enableOverPick", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否整包存储", prop: "enableWholeStore", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否整包存储", prop: "enableWholeStore", options: "whetherOrNot", colSpan: 12 }, |
|
@ -313,10 +315,12 @@ export default { |
|
|
{ type: "select", label: "是否发出", prop: "enableShip", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否发出", prop: "enableShip", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否接收", prop: "enableReceive", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否接收", prop: "enableReceive", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否退货给供应商", prop: "enableReturnToSupplier", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否退货给供应商", prop: "enableReturnToSupplier", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否拆箱", prop: "enableReturnFromCustomer", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否接收客户退货", prop: "enableReturnFromCustomer", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否拆箱", prop: "enableSplitBox", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "select", label: "是否拆箱", prop: "enableSplitBox", options: "whetherOrNot", colSpan: 12 }, |
|
|
|
|
|
{ type: "select", label: "是否拆托", prop: "enableSplitPallet", options: "whetherOrNot", colSpan: 12 }, |
|
|
{ type: "input", label: "描述", prop: "description", colSpan: 12 }, |
|
|
{ type: "input", label: "描述", prop: "description", colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
{ type: "input", label: "备注", prop: 'remark', colSpan: 12 }, |
|
|
|
|
|
{ type: "input", label: "仓库代码", prop: 'warehouseCode', disabled:"true", colSpan: 12 }, |
|
|
], |
|
|
], |
|
|
editRules: { |
|
|
editRules: { |
|
|
cerateRule: { |
|
|
cerateRule: { |
|
@ -328,6 +332,7 @@ export default { |
|
|
erpLocationCode: [{ required: true, trigger: "change", message: "不可为空" }], |
|
|
erpLocationCode: [{ required: true, trigger: "change", message: "不可为空" }], |
|
|
rowCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
rowCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
columnCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
columnCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
|
|
|
defaultInventoryStatus:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
}, |
|
|
}, |
|
|
editRule: { |
|
|
editRule: { |
|
|
pickPriority: [{ required: true, trigger: "change", message: "不可为空" },], |
|
|
pickPriority: [{ required: true, trigger: "change", message: "不可为空" },], |
|
@ -337,6 +342,7 @@ export default { |
|
|
erpLocationCode: [{ required: true, trigger: "change", message: "不可为空" }], |
|
|
erpLocationCode: [{ required: true, trigger: "change", message: "不可为空" }], |
|
|
rowCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
rowCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
columnCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
columnCode:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
|
|
|
defaultInventoryStatus:[{required: true, trigger: "change", message: "不可为空"}], |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 自定义详情明细汇总等table页 |
|
|
// 自定义详情明细汇总等table页 |
|
|