@dongkboy 2 лет назад
Родитель
Сommit
2cdc5527a6
1 измененных файлов с 20 добавлено и 19 удалено
  1. 20 19
      src/views/Task/daikeComponents/KtLetter.vue

+ 20 - 19
src/views/Task/daikeComponents/KtLetter.vue

@@ -1371,7 +1371,7 @@
                     @click="bjdpreview(reslistitem.result.companyId)">报价单</el-button>
                   <el-button type="text" size="small" style="font-size: 14px"
                     @click="Payment(reslistitem.result.companyId, reslistitem)" v-show="reslistitem.orderstatus == '2' &&
-                      !('editStatus' in reslistitem.result) 
+                      !('editStatus' in reslistitem.result)
                       ">付款码</el-button>
                       <!-- <el-button type="text" size="small" style="font-size: 14px"
                     @click="signature(reslistitem.result.companyId)" v-show="reslistitem.orderstatus == '2' &&
@@ -2425,7 +2425,7 @@
         <el-button type="primary" @click="userOCRconfirm()" size="small">确 认</el-button>
       </span>
     </el-dialog>
-    
+
     <el-dialog :visible.sync="pinganDataDetailVisible" width="40%"  title="责任明细">
       <el-table
       :data="pinganDataDetail"
@@ -3319,7 +3319,7 @@ export default {
           name: "上年商业险保单",
           scroll: "snbaodan",
         },
-        
+
       ],
       packageValue: "",
       packageOptions: [],
@@ -3399,6 +3399,7 @@ export default {
       dajiaInsuranceData: [], //大家意外险
       dajiaInsuranceDataTable: [],
       dajiaaccidentalDrivingVo: {},
+      chengtaiaccidentalDrivingVo: {},//诚泰驾意险
       yongchengInsuranceDataTable: [],
       guoRenaccidentLoading: false,
       contributingLoading: false,
@@ -4496,7 +4497,7 @@ export default {
       systartdate: "", //商业时间
       mobile: "", //投保人手机号
       //影像回显列表
-     
+
       // 是否禁用上传
       uploadDisabled: false,
       href: "",
@@ -5360,9 +5361,9 @@ export default {
       if (!index) {
         return;
       }
-      
+
       this.accidentFormPA[index1].pingantemplateSelection = index;
-     
+
       this.accidentFormPA[index1].projectName=index
         val.map(val1=>{
           if(val1.projectName == index){
@@ -5374,7 +5375,7 @@ export default {
           }
         })
         console.log(this.accidentFormPA[index1],index,4444444444);
-      
+
       // this.accidentFormPA[index1].projectCode=this.pinganInsuranceData.find(val1=>{
       //   // val1.map(
       //   //   (val) => val.projectName == index
@@ -5976,20 +5977,20 @@ export default {
         })
         return
       }
-        this.$api.letter 
+        this.$api.letter
           .getDrivingInsuranceRule({
             companyCode: item.id,
             agreementId: item.agreementId,
             seatNum:
               item.namesimple == "永诚财险" || item.namesimple == "中煤财险"
-                ? Number(this.carInfo.seatCount)  
+                ? Number(this.carInfo.seatCount)
                 : "",
             ruleUseNature: this.carInfo.carnature,
             ruleSeatNum: Number(this.carInfo.seatCount),
             risk: this.riskList,
             kind: this.kindList,
             ruleThirdPartyInsurance: this.insureList[1].amount,
-          
+
           })
           .then((res) => {
             if (res.code == 200) {
@@ -6197,7 +6198,7 @@ export default {
     RSDrivingRadio(row) {
       this.RSDrivingChange(row);
     },
-    
+
     //安盛驾意险选择
     ASDrivingRadio(row) {
       this.anshengInsurancetype = row.projectCode;
@@ -6270,7 +6271,7 @@ export default {
     },
     //平安驾意险选择
     PADrivingRadio(row,agreementId,index) {
-    
+
       // this.accidentPremiumPA = row.premium;
       this.accidentFormPA[index].quantity = '1';
       this.accidentFormPA[index].sellListSize =Number(row.sellListSize) ;
@@ -6625,7 +6626,7 @@ export default {
       //   quantity: 1,
       //   premium: 0,
       //   pingantemplateSelection:'',
-      //   pinganInsuranceDataTable:[], 
+      //   pinganInsuranceDataTable:[],
       //   pinganInsurancetype:'',
       // }
         this.pinganaccidentalDrivingVo[index] = {};
@@ -6785,7 +6786,7 @@ export default {
           //   element.removeChild(element.firstChild);
           // }
           // this.signaturecode = new QRCode("signaturecode", {
-          //   text:  resultMessage, 
+          //   text:  resultMessage,
           //   width: 180,
           //   height: 180,
           //   colorDark: "#000000",
@@ -6801,15 +6802,15 @@ export default {
       //       element.removeChild(element.firstChild);
       //     }
       //     this.signaturecode = new QRCode("signaturecode", {
-      //       text:  res.data.resultMessage, 
+      //       text:  res.data.resultMessage,
       //       width: 180,
       //       height: 180,
       //       colorDark: "#000000",
       //       colorLight: "#ffffff",
       //       correctLevel: QRCode.CorrectLevel.H,
       //     });
-        } else { 
-          this.$message({ 
+        } else {
+          this.$message({
             message: res.msg || "暂无数据!",
             type: "warning",
           });
@@ -9150,7 +9151,7 @@ export default {
         }
       });
     },
-  
+
     hbsubmitdialog(data) {
       if (this.imageList1.length == 0 && this.imageList2.length == 0) {
         this.$message({ message: "影像不全,先上传影像", type: "error" });
@@ -9711,7 +9712,7 @@ export default {
                               customClass: "customNotifyClass",
                               type: "error",
                               duration: 0,
-                            }); 
+                            });
                           }
                         });