Ver código fonte

下单按钮

yaoyao 2 anos atrás
pai
commit
5921ee480b
1 arquivos alterados com 5 adições e 17 exclusões
  1. 5 17
      src/views/Task/daikeComponents/KtLetter1.vue

+ 5 - 17
src/views/Task/daikeComponents/KtLetter1.vue

@@ -411,7 +411,7 @@
     <!-- 被保人信息 -->
     <div class="Enclosure flex f-c back">
       <div class="home flex j-s a-c">
-        <div class="flex j-s a-c">
+        <div class="flex j-s a-c" id="beitoubaoren">
           <img src="../../../../src/icon/被投保人信息.png" alt class="icon-img" />
           <span style="margin-left: 10px">被保人信息</span>
         </div>
@@ -1375,7 +1375,6 @@
                       <el-button :disabled="reslistitem.namesimple == '众安财险' &&
                         reslistitem.result.tips == '需要验车'
                         " v-show="reslistitem.quoteCode == '200' &&
-                          !hbcg &&
                         !('editStatus' in reslistitem.result)
                         " type="text" size="small" style="color: #2d4d89; font-size: 14px"
                         @click="hbsubmitdialog(reslistitem, reslistindex)">下单</el-button>
@@ -5558,7 +5557,6 @@ export default {
       showLoading: false,
       detailJiaYiTitle: '查看详情',
       oldData: {},    // 旧获取公司参数
-      hbcg: false,
     };
   },
   watch: {
@@ -5932,8 +5930,8 @@ export default {
               }
             });
           } else {
-            document.getElementById("toubaor").scrollIntoView();
-            _this.$message({ message: "请检查投保人信息", type: "warning" });
+            document.getElementById("beitoubaoren").scrollIntoView();
+            _this.$message({ message: "请检查被投保人信息", type: "warning" });
           }
         });
 
@@ -10560,7 +10558,6 @@ export default {
                           message: "核保成功",
                           type: "success",
                         });
-                        this.hbcg = true
                         this.QuotationHistory();
                         _this.$api.letter
                           .getByCompanyId({ companyId: this.companyId })
@@ -10617,7 +10614,6 @@ export default {
                               message: "核保成功",
                               type: "success",
                             });
-                        this.hbcg = true
                         this.QuotationHistory();
                             _this.$api.letter
                               .getByCompanyId({ companyId: this.companyId })
@@ -10696,7 +10692,6 @@ export default {
                           message: "核保成功",
                           type: "success",
                         });
-                        this.hbcg = true
                         this.QuotationHistory();
                         _this.$api.letter
                           .getByCompanyId({ companyId: this.companyId })
@@ -10758,7 +10753,6 @@ export default {
                               message: "核保成功",
                               type: "success",
                             });
-                        this.hbcg = true
                         this.QuotationHistory();
                             _this.$api.letter
                               .getByCompanyId({ companyId: this.companyId })
@@ -10826,7 +10820,6 @@ export default {
                               message: "核保成功",
                               type: "success",
                             });
-                        this.hbcg = true
                         this.QuotationHistory();
                             _this.$api.letter
                               .getByCompanyId({ companyId: this.companyId })
@@ -10884,7 +10877,6 @@ export default {
                               message: "核保成功",
                               type: "success",
                             });
-                        this.hbcg = true
                         this.QuotationHistory();
                             _this.$api.letter
                               .getByCompanyId({ companyId: this.companyId })
@@ -10951,7 +10943,6 @@ export default {
                           message: "核保成功",
                           type: "success",
                         });
-                        this.hbcg = true
                         this.QuotationHistory();
                         _this.$api.letter
                           .getByCompanyId({ companyId: this.companyId })
@@ -11013,7 +11004,6 @@ export default {
                               message: "核保成功",
                               type: "success",
                             });
-                        this.hbcg = true
                         this.QuotationHistory();
                             _this.$api.letter
                               .getByCompanyId({ companyId: this.companyId })
@@ -11081,7 +11071,6 @@ export default {
                           message: "核保成功",
                           type: "success",
                         });
-                        this.hbcg = true
                         this.QuotationHistory();
                         _this.$api.letter
                           .getByCompanyId({ companyId: this.companyId })
@@ -11139,7 +11128,6 @@ export default {
                               message: "核保成功",
                               type: "success",
                             });
-                        this.hbcg = true
                         this.QuotationHistory();
                             _this.$api.letter
                               .getByCompanyId({ companyId: this.companyId })
@@ -11361,7 +11349,7 @@ export default {
           this.insuredPersonInfo = JSON.parse(JSON.stringify(this.ownerInfo));
           setTimeout(() => {
             this.getCompanyList()
-          }, 1000);
+          }, 300);
           break;
         default:
           for (let key in this.insuredPersonInfo) {
@@ -11383,7 +11371,7 @@ export default {
           );
           setTimeout(() => {
             this.getCompanyList()
-          }, 1000);
+          }, 300);
           break;
         default:
           for (let key in this.insuredPersonInfo) {