diff --git a/src/views/mes/wm/inPlan/index.vue b/src/views/mes/wm/inPlan/index.vue index 81bf8e9..0853e3a 100644 --- a/src/views/mes/wm/inPlan/index.vue +++ b/src/views/mes/wm/inPlan/index.vue @@ -515,6 +515,21 @@ export default { /** 新增按钮操作 */ handleAdd(planTypeCode) { this.reset(); + // 设定库区 + switch (planTypeCode) { + case "DBRK": + this.form.locationCode = null; + break; + case "DPRK": + this.form.locationCode = null; + break; + case "ZDHK": + this.form.locationCode = 'L055'; + break; + case "CDHK": + this.form.locationCode = null; + break; + } // 填充计划类型 const filter = this.inPlanTypeList.filter(item => item.code === planTypeCode); if (filter.length) { diff --git a/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue b/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue index 4c1a2f6..0fbc1d0 100644 --- a/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue +++ b/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue @@ -205,7 +205,7 @@ export default { - +