From 14bc915349f56e1276793aedd7598380b385e5aa Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期五, 07 三月 2025 13:49:07 +0800
Subject: [PATCH] bug修复

---
 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