From a4c15ba6d767816428651e20aab0dd18bdda6f7c Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 26 Aug 2025 14:32:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=9381?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 0038ea92..897b65a8 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -22,12 +22,9 @@ {{ mlogItem.mgroup_name }} - {{ + {{ mlogItem.equipment_name }} - {{ - mlogItem.hour_work - }} {{ mlogItem.belong_dept_name }} @@ -598,9 +595,12 @@ export default { that.$API.wpm.mlog.item.req(that.mlogId).then((res) => { that.mlogItem = res; that.checkTableShow = true; + that.isSubmit = res.submit_time==null?false:true; if(that.processType=='10'&&that.mlogItem.material_out_&&that.mlogItem.material_out_.tracking==20){ that.getMlogbw(); - that.getdefects(that.mlogItem.qct); + if(that.mlogItem.qct!==null){ + that.getdefects(that.mlogItem.qct); + } } if(res.route!==null){ that.hasRoute = true; @@ -916,7 +916,6 @@ export default { let that = this; that.mlogb = row.id; that.wm = row.wm_in; - that.isSubmit = that.mlogItem.submit_time == null ? false : true; that.batchNumber = row.batch; that.material_in = row.material_in; that.material_out = row.material_out;