From 5647a3401fad4fabd0e90de2e0d9a354f19c2a7b Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 10 Mar 2025 14:46:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4mlog=E4=B8=8D=E7=94=A8?= =?UTF-8?q?=E9=80=89=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/inm_record_form.vue | 18 ++++++++++-------- src/views/wpm_bx/mlog_form.vue | 7 +++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/wpm_bx/inm_record_form.vue b/src/views/wpm_bx/inm_record_form.vue index 5f662364..1c48cf04 100644 --- a/src/views/wpm_bx/inm_record_form.vue +++ b/src/views/wpm_bx/inm_record_form.vue @@ -356,15 +356,17 @@ export default { this.form.count = item.count; this.form.warehouse = item.warehouse; this.form.mioitemw = []; - this.isSaveing = true; - that.$API.wpm.wpr.list.req({mb: item.id,page:0}).then((res) => { - res.forEach((itemwpr) => { - let obj={}; - obj.number = itemwpr.number; - this.form.mioitemw.push(obj) + if(that.cate == "do_out"){}else{ + this.isSaveing = true; + that.$API.wpm.wpr.list.req({mb: item.id,page:0}).then((res) => { + res.forEach((itemwpr) => { + let obj={}; + obj.number = itemwpr.number; + this.form.mioitemw.push(obj) + }) + this.isSaveing = false;; }) - this.isSaveing = false;; - }) + } } } }, diff --git a/src/views/wpm_bx/mlog_form.vue b/src/views/wpm_bx/mlog_form.vue index 0b19a594..94667b7f 100644 --- a/src/views/wpm_bx/mlog_form.vue +++ b/src/views/wpm_bx/mlog_form.vue @@ -57,7 +57,7 @@ - + @@ -92,7 +91,7 @@ :label="item.routepack_name" :value="item.id" > - {{ item.routepack_name }}-{{item.process_name}} + {{ item.routepack_name }}