From a9a521141870400296c1a4eafaa61c12a8f8fcad Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 14 Mar 2025 10:11:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E5=90=88=E6=89=B9?= =?UTF-8?q?=E6=97=B6=E6=8E=A5=E6=94=B6=E5=B7=A5=E6=AE=B5=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=9C=AC=E5=B7=A5=E6=AE=B5=E5=92=8C=E6=8E=A5=E6=94=B6=E4=BA=BA?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index db6c401a..d286f7df 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -145,7 +145,7 @@ - + - + { that.mgroupOptions = res; + if(that.type==40){ res.forEach(item=>{ if(item.name=="废品库"){ @@ -616,9 +617,13 @@ export default { let that = this; that.$refs.dialogForm.validate(async (valid) => { if (valid) { + if(that.mtype==30){ + that.form.recive_mgroup = that.mgroupId; + } + console.log('that.form.recive_mgroup',that.form.recive_mgroup); if (that.mode == "add") { that.$API.wpm.handover.create.req(that.form).then((res) => { - if(that.type==40){ + if(that.type==40||that.mtype==30){ //提交 that.$API.wpm.handover.submit.req(res.id).then((res1) => { that.isSaveing = false;