Quellcode durchsuchen

更改驾意险字段

@dongkboy vor 2 Jahren
Ursprung
Commit
ecda498fcf
1 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen
  1. 13 13
      src/views/Letter/Letter.vue

+ 13 - 13
src/views/Letter/Letter.vue

@@ -339,7 +339,7 @@
               <el-select v-model="policyHolderInfo.identifyType" placeholder="身份证" disabled>
                 <el-option label="身份证" value="01"></el-option>
               </el-select>
-              
+
             </el-form-item>
           </el-col>
           <el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
@@ -1130,9 +1130,9 @@
             车船税:
             <span>¥{{ queryOrders.taxamount }}</span>
           </div>
-          <div v-if="queryOrders.accidentInfo">
+          <div v-if="queryOrders.jypremium">
             驾意险:
-            <span>¥{{ queryOrders.accidentInfo.sumPremium }}</span>
+            <span>¥{{ queryOrders.jypremium }}</span>
           </div>
           <div v-show="queryOrders.jqstartdate">
             交强险起保日期:
@@ -3577,7 +3577,7 @@ export default {
       this.systartDate=item.startDateSy?item.startDateSy:this.systartDate
       this.syendDate=item.endDateSy?item.endDateSy:this.syendDate
     },
-  
+
     //纳税类型事件
     taxRelifFlagChange(val){
       if (val == 4) {
@@ -4807,7 +4807,7 @@ export default {
         agreementId: this.totalCompanyList[num].agreementId,
       };
       this.$api.letter.guorenquote(params).then(res => {
-      
+
         this.totalCompanyList[num].msg = res.msg;
         if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
           this.totalCompanyList[num].quoteCode = "4";
@@ -5932,7 +5932,7 @@ export default {
         this.carInfo.transferDate=""
       }
     },
-   
+
     //影像上传
     drivingupload(file, imageIdList, imgurl, type) {
       let that=this
@@ -5952,7 +5952,7 @@ export default {
       let name=file.raw.name
       var image = new Image();
       image.src = window.URL.createObjectURL(file.raw);
-      that.carfrontImg =  image.src 
+      that.carfrontImg =  image.src
       image.onload = function(){
         let aaa= that.base64ToFile(that.compress(image, 500, 400, 0.7),name)
       const params = new FormData()
@@ -6021,12 +6021,12 @@ export default {
         });
       }
     },
-      compress(img, width, height, ratio) {                
+      compress(img, width, height, ratio) {
           var canvas, ctx, img64;
-          canvas = document.createElement('canvas');                
+          canvas = document.createElement('canvas');
           canvas.width = width;
           canvas.height = height;
-          ctx = canvas.getContext("2d");                
+          ctx = canvas.getContext("2d");
           ctx.drawImage(img, 0, 0, width, height);
           img64 = canvas.toDataURL("image/jpeg", ratio);
           return img64;
@@ -6063,7 +6063,7 @@ export default {
       let name=file.raw.name
       var image = new Image();
       image.src = window.URL.createObjectURL(file.raw);
-      that.carfrontImg =  image.src 
+      that.carfrontImg =  image.src
       image.onload = function(){
         let aaa= that.base64ToFile(that.compress(image, 500, 400, 0.7),name)
       that.carfrontImg = image.src;
@@ -6652,7 +6652,7 @@ export default {
       // //上传图片
       const mergedArray = [...this.imageList1, ...this.imageList2, ...this.imageList3, ...this.imageList4];
       let imageparam = {
-        imageList: mergedArray, 
+        imageList: mergedArray,
         quoteNo: this.quoteno
       }
       this.$api.letter.uploadImages(imageparam).then(responses => {
@@ -7540,7 +7540,7 @@ export default {
   .el-upload-list__item {
     width: 198px;
     height: 128px;
-    margin: 0 !important; 
+    margin: 0 !important;
     display: block !important;
   }