From 8b345a1df6aa5d70298647db3371be040d60a747 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 6 Jun 2025 08:38:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E5=90=8E=E9=9D=A2?= =?UTF-8?q?=E5=87=A0=E4=B8=AA=E5=B7=A5=E6=AE=B5=E7=9A=84=E8=BF=94=E5=B7=A5?= =?UTF-8?q?=E5=8F=AA=E8=83=BD=E9=80=89=E6=8B=A9=E5=90=88=E6=A0=BC=E5=93=81?= =?UTF-8?q?=E5=92=8C=E5=90=88=E6=A0=BCB=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index f5f97441..98f786ca 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -356,7 +356,7 @@ export default { that.form.recive_mgroup = that.mgroupId; } // type=10 物料交接 物料都可交接,接收工段有限制 - // type=20 物料返工 不合格品交接,接收工段为该工艺流程中的工段 + // type=20 物料返工 不合格品交接,接收工段为该工艺流程中的工段 // type=30 物料检验 合格品交接,检验部接收 // type=40 废品入库 不合格品交接,接收工段固定为废品库 // type=50 改版 灵活无限制 @@ -369,7 +369,12 @@ export default { } //获取交送物料 if((that.type==20&&that.mgroupName!=='废品库')||that.type==40){ - that.getMaterialNotok(); + if(that.mgroupName=='成品内外初检'||that.mgroupName=='成品内质复检'||that.mgroupName=='成品性能检测'||that.mgroupName=='成品尺寸检测'||that.mgroupName=='成品外观复检一'||that.mgroupName=='成品外观复检二'){ + that.getMaterialOkFangong(); + }else{ + that.getMaterialNotok(); + } + }else if(that.type==20&&that.mgroupName=='废品库'){ that.getMaterialFP(); }else{ @@ -465,6 +470,18 @@ export default { that.materialOptions = res; }); }, + getMaterialOkFangong(){ + let that = this; + that.materialOptions = []; + var obj = { + page: 0, + state : 10, + state_all: 1 + }; + that.$API.wpm.wmaterial.list.req(obj).then((res) => { + that.materialOptions = res; + }); + }, //获取交送工段人员 getUserList() { let that = this;