From b1c91a6dadea29916db5d46fdde261e5be953e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=8D=E5=96=9C?= Date: Tue, 17 Dec 2024 11:50:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E6=95=B4?= =?UTF-8?q?=E5=88=80=E5=85=A5=E5=BA=93=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/wm/inPlan/index.vue | 15 +++++++++++++++ .../mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) 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 { - +