소스 검색

订单管理运费计算调整

qymljy 1 년 전
부모
커밋
0a8722bbd2

+ 1 - 1
src/HDrpManagement/orderManage/details/index.vue

@@ -92,7 +92,7 @@
         <default-info :mainData="mainData"></default-info>
       </div>
       <div slot="slot0">
-        <product-list @select="select" @onSuccess="queryMainData()" :data="mainData" ref="prod">
+        <product-list @select="select" @onSuccess="queryMainData()" :data="mainData"  ref="prod">
           <div slot="operation">
             <importFile ref="importFile" class="inline-16" :bindData="{ownertable:'sa_order',ownerid:$route.query.id,usetype:'default'}" :ordertype="mainData.type" :errorUrl="errorUrl" @clearUrl="errorUrl = null" @onSuccess="bindImportOrder"></importFile>
             <changeOrderMx v-if="mainData.status === '审核'" :tableData="selection" class="inline-16" :data="mainData" @onSuccess="$refs['prod'].listData();queryMainData"></changeOrderMx>

+ 7 - 2
src/HDrpManagement/orderManage/details/tabs/productlist.vue

@@ -542,6 +542,7 @@ export default {
       }
     },
     checkFreefreightamount () {
+      console.log('执行输出')
       let result = ''
       switch (this.freefreightamount) {
         case -1:
@@ -622,7 +623,10 @@ export default {
       this.total = res.total
       this.totalPage = Math.ceil(this.total /200)
       this.currentPage = res.pageNumber
-      this.queryBasicInfo()
+      setTimeout(()=>{
+        this.queryBasicInfo()
+      },500)
+
     },
     handlePullApi (pullApi) {
       pullApi.content = {
@@ -857,7 +861,8 @@ export default {
     },
     async queryBasicInfo () {
       const res = await this.$api.requested({
-        "id":20220920084001,"content":{
+        "id":20220920084001,
+        "content":{
           sys_enterpriseid:this.data.sys_enterpriseid
         },
       })

+ 3 - 1
src/SDrpManagement/agentOrder/modules/productlist.vue

@@ -406,7 +406,9 @@ export default {
       this.tableData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
-      this.queryBasicInfo()
+      setTimeout(()=>{
+        this.queryBasicInfo()
+      },500)
     },
     handleSizeChange(val) {
       // console.log(`每页 ${val} 条`);

+ 3 - 3
src/SDrpManagement/salerOrder/modules/productlist.vue

@@ -422,9 +422,9 @@ export default {
       this.tableData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
-      console.log('成功',res.data);
-
-      this.queryBasicInfo()
+      setTimeout(()=>{
+        this.queryBasicInfo()
+      },500)
     },
     handleSizeChange(val) {
       // console.log(`每页 ${val} 条`);