diff --git a/src/views/wpm_gx/f_mlogs_form.vue b/src/views/wpm_gx/f_mlogs_form.vue index 368e577f..c1a9ddd0 100644 --- a/src/views/wpm_gx/f_mlogs_form.vue +++ b/src/views/wpm_gx/f_mlogs_form.vue @@ -509,7 +509,13 @@ export default { that.$API.mtm.route.item.req(that.route).then(res=>{ that.material_in = res.material_in; that.material_out = that.form.material_out = res.material_out; - that.getMlogObj(); + console.log('that.mlogId',that.mlogId) + if(that.mlogId){ + that.getMlogObj(); + }else{ + that.getdefects(); + } + }); }, //获取工段人员