Pārlūkot izejas kodu

bug修复,出库详情,为弹框时不请求数据

chenrui 3 gadi atpakaļ
vecāks
revīzija
22a6c7ff98

+ 1 - 1
src/views/allocationManagement/transferOut/detail.vue

@@ -208,7 +208,7 @@ export default {
     }
   },
   mounted () {
-    if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
+    if (!this.$store.state.app.isNewTab || this.outBizSn) { // 页签刷新 或 为弹框时调用
       this.pageInit()
     }
   },

+ 1 - 1
src/views/salesManagement/pushOrderManagement/detail.vue

@@ -213,7 +213,7 @@ export default {
     }
   },
   mounted () {
-    if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
+    if (!this.$store.state.app.isNewTab || this.outBizSn) { // 页签刷新 或 为弹框时调用
       this.$refs.table.refresh(true)
       this.getDetail()
     }