Browse Source

bug 修复

lilei 2 years ago
parent
commit
fc887d3fb4
2 changed files with 2 additions and 5 deletions
  1. 1 1
      public/version.json
  2. 1 4
      src/views/salesManagement/salesQuery/edit.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
 {
   "message": "发现有新版本发布,确定更新系统?",
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
   "vendorJsVersion": "",
-  "version": 1668650085075
+  "version": 1668669039933
 }
 }

+ 1 - 4
src/views/salesManagement/salesQuery/edit.vue

@@ -369,6 +369,7 @@ export default {
     updateData (priceType) {
     updateData (priceType) {
       // 价格类型变更
       // 价格类型变更
       if (priceType != this.$route.params.priceType) {
       if (priceType != this.$route.params.priceType) {
+        this.getOrderDetail(true)
         this.$router.push({ name: 'salesEdit', params: { id: this.orderId, sn: this.salesBillSn, priceType: priceType } })
         this.$router.push({ name: 'salesEdit', params: { id: this.orderId, sn: this.salesBillSn, priceType: priceType } })
       } else {
       } else {
         this.getOrderDetail(true)
         this.getOrderDetail(true)
@@ -808,10 +809,6 @@ export default {
     	})
     	})
     }
     }
   },
   },
-  deactivated () {
-    // this.dataSource = []
-    // this.showPage = false
-  },
   beforeRouteEnter (to, from, next) {
   beforeRouteEnter (to, from, next) {
     next(vm => {})
     next(vm => {})
   }
   }