wuguojie 11 ماه پیش
والد
کامیت
e0c7fca1d8
1فایلهای تغییر یافته به همراه25 افزوده شده و 19 حذف شده
  1. 25 19
      src/views/Task/daikeComponents/KtOrder.vue

+ 25 - 19
src/views/Task/daikeComponents/KtOrder.vue

@@ -174,7 +174,7 @@
                 @click="supplementOrder(item)">补录订单</el-button>
               <el-button size="mini" type="text" class="green_color"
                 @click="OrderDetails(scope.row, item)">查看详情</el-button>
-              <el-button size="mini" type="text" :loading="querystatusLoaing" v-if="
+              <el-button size="mini" type="text" :loading="item.querystatusLoaing" v-if="
                 item.orderstatus == '2' &&
                 [
                   '太平财险',
@@ -1732,7 +1732,8 @@ export default {
     },
     //查询缴费状态
     querystatus(item, index) {
-      this.querystatusLoaing = true;
+      // this.querystatusLoaing = true;
+        item.querystatusLoaing = true
       let inscompany = {
         国任财险: "updateOrderInfoGuoren",
         大家财险: "updateOrderInfoDajia",
@@ -1754,9 +1755,9 @@ export default {
                   ? this.RadioHistoryChange()
                   : "";
                 this.findPage();
-                this.querystatusLoaing = false;
+                  item.querystatusLoaing = false;
               } else {
-                this.querystatusLoaing = false;
+                  item.querystatusLoaing = false;
                 this.$message({ message: res.msg, type: "error" });
               }
             }
@@ -1772,9 +1773,9 @@ export default {
             });
             this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
             this.findPage();
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
           } else {
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
             this.$message({ message: res.msg, type: "error" });
           }
         });
@@ -1793,9 +1794,9 @@ export default {
             });
             this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
             this.findPage();
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
           } else {
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
             this.$message({ message: res.msg, type: "error" });
           }
         });
@@ -1814,9 +1815,9 @@ export default {
             });
             this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
             this.findPage();
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
           } else {
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
             this.$message({ message: res.msg, type: "error" });
           }
         });
@@ -1837,9 +1838,9 @@ export default {
             });
             this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
             this.findPage();
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
           } else {
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
             this.$message({ message: res.msg, type: "error" });
           }
         });
@@ -1859,9 +1860,9 @@ export default {
             });
             this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
             this.findPage();
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
           } else {
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
             this.$message({ message: res.msg, type: "error" });
           }
         });
@@ -1881,9 +1882,9 @@ export default {
             });
             this.quotationhistorydialogVisible ? this.RadioHistoryChange() : "";
             this.findPage();
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
           } else {
-            this.querystatusLoaing = false;
+              item.querystatusLoaing = false;
             this.$message({ message: res.msg, type: "error" });
           }
         });
@@ -1916,9 +1917,9 @@ export default {
                 ? this.RadioHistoryChange()
                 : "";
               this.findPage();
-              this.querystatusLoaing = false;
+                item.querystatusLoaing = false;
             } else {
-              this.querystatusLoaing = false;
+                item.querystatusLoaing = false;
               this.$message({ message: res.msg, type: "error" });
             }
           });
@@ -3294,7 +3295,12 @@ export default {
             if (res.code == "200" && res.data.length != 0) {
               this.pageResult.map((item) => {
                 if (item.orderno === row.orderno) {
-                  item.insAreaCompanyList = res.data;
+                  item.insAreaCompanyList = res.data.map(item => {
+                      return {
+                          ...item,
+                          querystatusLoaing: false
+                      }
+                  });
                 }
                 return item;
               });