Przeglądaj źródła

Merge branch 'dev' into 'purchaseDev'

Dev

See merge request new-business/drp-web!99
黄梓星 2 lat temu
rodzic
commit
4bb4b87b56
1 zmienionych plików z 7 dodań i 1 usunięć
  1. 7 1
      src/views/material/basicFile/details.vue

+ 7 - 1
src/views/material/basicFile/details.vue

@@ -1728,7 +1728,7 @@
           default:
             break;
         }
-        this.handleOtherRefresh();
+        // this.handleOtherRefresh();
       },
       // 其他页签详情弹窗关闭事件
       handleCloseOtherDetails(done) {
@@ -1979,6 +1979,7 @@
         materialApi.financeEdit(data).then(res => {
           if (res.code == 200) {
             this.otherDeatils.isEdit = false;
+            this.handleOtherRefresh();
           }
         })
       },
@@ -1988,6 +1989,7 @@
         materialApi.centerEdit(data).then(res => {
           if (res.code == 200) {
             this.otherDeatils.isEdit = false;
+            this.handleOtherRefresh();
           }
         })
       },
@@ -1997,6 +1999,7 @@
         materialApi.purchaseEdit(data).then(res => {
           if (res.code == 200) {
             this.otherDeatils.isEdit = false;
+            this.handleOtherRefresh();
           }
         })
       },
@@ -2006,6 +2009,7 @@
         materialApi.inventoryEdit(data).then(res => {
           if (res.code == 200) {
             this.otherDeatils.isEdit = false;
+            this.handleOtherRefresh();
           }
         })
       },
@@ -2015,6 +2019,7 @@
         materialApi.planEdit(data).then(res => {
           if (res.code == 200) {
             this.otherDeatils.isEdit = false;
+            this.handleOtherRefresh();
           }
         })
       },
@@ -2024,6 +2029,7 @@
         materialApi.costEdit(data).then(res => {
           if (res.code == 200) {
             this.otherDeatils.isEdit = false;
+            this.handleOtherRefresh();
           }
         })
       },