From 4c79256c4e29c6007e96b60ea7a71ed32d1ed1e1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 14:32:49 +0800
Subject: [PATCH] 质量监控评价,附件上传按钮优化

---
 src/views/business/materialOrder/copperOrder.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/business/materialOrder/copperOrder.vue b/src/views/business/materialOrder/copperOrder.vue
index 8bc060d..8227fdd 100644
--- a/src/views/business/materialOrder/copperOrder.vue
+++ b/src/views/business/materialOrder/copperOrder.vue
@@ -617,11 +617,12 @@
   mounted() {
     this.active = this.$route.query.active
     this.currentId = this.$route.query.currentId
+    this.getInfoRow();
   },
   activated() {
-    if (this.active==1) {
-      this.getInfoRow();
-    }
+    this.active = this.$route.query.active
+    this.currentId = this.$route.query.currentId
+    this.getInfoRow();
   },
   methods: {
     getInfoRow() {
@@ -729,7 +730,6 @@
           })
         }).then(res => {
           this.noNeedCheckLoad = false
-          if (res.code == 201) return
           this.$message.success('宸叉彁浜�')
           this.closeOpenPage()
         }).catch(e=>{
@@ -1170,7 +1170,6 @@
         })
       }).then(res => {
         this.saveLoad = false
-        if (res.code == 201) return
         this.$message.success('宸叉彁浜�')
         this.bsm3Dia = false;
         this.closeOpenPage()

--
Gitblit v1.9.3