From cdeb68fabb621b2a9d330bf816fdc4dc97c5824f Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 16 May 2025 17:05:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/f_mlogs_form.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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(); + } + }); }, //获取工段人员