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;