From 701b085cb503552cd83431fcacc73ebfaede2125 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 1 Jul 2026 15:53:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BF=94=E5=B7=A5=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E7=89=A9=E6=96=99=E5=88=97=E8=A1=A8=E4=B8=8D?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 15 +++++++++++---- src/views/wpm_bx/mlogbw_check_table.vue | 2 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 94e296b9..3b64422b 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -677,11 +677,18 @@ export default { } that.materialIn = res.material_in!==null?res.material_in:res.mlogb_full[0]?res.mlogb_full[0].material_in:null; that.deptId = res.belong_dept; - that.checkTableShow = true; that.apiObjWm = that.$API.wpm.wmaterial.list; - that.$API.wpm.mlogb.list.req(that.paramsOut).then((res) => { - that.tableData2 = res; - }) + if(res.qct!==null){ + that.checkTableShow = true; + }else{ + that.$API.wpm.mlogb.list.req(that.paramsOut).then((res_out) => { + that.tableData2 = res_out; + if(res.is_fix&&res_out[0].qct!==null){ + that.mlogItem.qct = res_out[0].qct; + } + that.checkTableShow = true; + }) + } if(!res.is_fix){ that.getcutCount(res.material_in); that.$API.mtm.routepack.list.req({page:0,search:res.routepack_name}).then((res) => { diff --git a/src/views/wpm_bx/mlogbw_check_table.vue b/src/views/wpm_bx/mlogbw_check_table.vue index d63ff6f6..7a189570 100644 --- a/src/views/wpm_bx/mlogbw_check_table.vue +++ b/src/views/wpm_bx/mlogbw_check_table.vue @@ -536,6 +536,8 @@ export default { }).catch(()=>{ that.getList(); }) + }else{ + that.getList(); } } that.visible = true;