فهرست منبع

报价单调整

qymljy 3 سال پیش
والد
کامیت
274b03c4a8
1فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  1. 5 3
      src/SDrpManagement/QuotedPrice/detail/index.vue

+ 5 - 3
src/SDrpManagement/QuotedPrice/detail/index.vue

@@ -67,7 +67,8 @@ export default {
       })
       this.mainData = res.data
       this.productList()
-      this.changeDataStructure()
+
+     /* this.changeDataStructure()*/
      /* this.$refs.detailed.detailedList(this.mainData)*/
       this.flag = true
     },
@@ -134,7 +135,8 @@ export default {
         this.totalPrice = this.totalPrice + item.price * item.qty
       })
       console.log(this.totalPrice,'商品总价')
-      this.queryMainData(this.$route.query.id)
+      /*this.queryMainData(this.$route.query.id)*/
+      this.changeDataStructure()
     },
     onSuccess(){
       this.queryMainData(this.$route.query.id)
@@ -143,7 +145,7 @@ export default {
   mounted() {
     console.log(this.$route.query.id)
 
-    this.productList()
+    this.queryMainData(this.$route.query.id)
   }
 }
 </script>