Browse Source

fix: 修改人保切换险种时清空赔付优化申请;中煤报价添加新能源违章分字段

wuguojie 6 tháng trước cách đây
mục cha
commit
34c2402ed4
1 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 10 1
      src/views/Task/daikeComponents/KtLetter1.vue

+ 10 - 1
src/views/Task/daikeComponents/KtLetter1.vue

@@ -1438,6 +1438,9 @@ agreementitem, agreementindex
                           <div style="margin-bottom: 10px;">期望折扣:
                               <el-input v-model="reslistitem.discount" size="mini" class="coefficient" placeholder="请输入"></el-input>
                           </div>
+                          <div style="margin-bottom: 10px;">新能源违章分:
+                              <el-input v-model="reslistitem.zmScoreLevel" size="mini" class="coefficient" placeholder="请输入"></el-input>
+                          </div>
                       </div>
                     <div class="card-table flex a-c j-s" v-show="reslistitem.cnName == 'chengtai'">
                       <div class="table-title">其他</div>
@@ -6824,6 +6827,10 @@ export default {
     },
     // 修改险别
     productIdChange() {
+        let index = this.totalCompanyList.findIndex(item => item.namesimple == '人保财险')
+        if(index !== -1) {
+            this.totalCompanyList[index].result.preDiscount = ''
+        }
       if (this.productId != "0330") {
         this.sychecked = true;
         this.sycheckedChange(true);
@@ -10367,6 +10374,7 @@ export default {
 
     //中煤报价
     zhongmei(num, id) {
+        console.log('中煤财险')
       let accidentalDrivingVo = {};
       let isTaxSource = this.totalCompanyList[num].isTaxSource;
       let type = this.totalCompanyList[num].apiType;
@@ -10401,7 +10409,8 @@ export default {
         isTaxSource: isTaxSource == 1 ? isTaxSource : null,
         kinds: this.totalCompanyList[num].kindList,
         risks: this.riskList,
-        productId: this.productId
+        productId: this.productId,
+        zmScoreLevel: this.totalCompanyList[num].zmScoreLevel
       };
       this.$api.letter.zhongmeiquote(params).then(res => {
         // this.$api.letter[api](params).then((res) => {