From b3c42b5876977dfed8010b6c06abef55d7cfdaa3 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 25 Mar 2026 13:24:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=97=A5=E5=BF=97=E4=B8=AD=E9=92=88?= =?UTF-8?q?=E5=AF=B9=E6=89=AD=E8=BD=AC=E7=9A=84=E6=A3=80=E9=AA=8C=E8=A1=A8?= =?UTF-8?q?=EF=BC=88=E7=94=A8material=5Fin=EF=BC=89=E5=81=9A=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlogbw_check_table.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_bx/mlogbw_check_table.vue b/src/views/wpm_bx/mlogbw_check_table.vue index eaaca5f1..5fdcc11e 100644 --- a/src/views/wpm_bx/mlogbw_check_table.vue +++ b/src/views/wpm_bx/mlogbw_check_table.vue @@ -447,7 +447,9 @@ export default { watch: {}, mounted() { let that = this; - that.test_file_name = that.test_file.split("/")[that.test_file.split("/").length-1]; + if(that.test_file!==''&&that.test_file!==null){ + that.test_file_name = that.test_file.split("/")[that.test_file.split("/").length-1]; + } that.route_code = that.$route.path.split("/")[2]; that.currentDate = that.$TOOL.dateFormat2(new Date()); that.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code; @@ -461,7 +463,7 @@ export default { if(that.qct!==''&&that.qct!==null){//输出 that.getdefects(); }else{ - if(that.material_in!==''&&that.material_in!==null){//输入 + if(that.route_code=='niuzhuan'&&that.material_in!==''&&that.material_in!==null){//输入 if(that.route_code=='chengpingfanxiu'){ that.$API.qm.qct.getQct.req({ material: that.material_in,type:'out',tag:'fix' }).then((res) => { that.qctId = res.id;