فهرست منبع

报价页面增加优惠信息

@dongkboy 2 سال پیش
والد
کامیت
7fb29cafcf
1فایلهای تغییر یافته به همراه28 افزوده شده و 5 حذف شده
  1. 28 5
      src/views/Task/daikeComponents/KtLetter.vue

+ 28 - 5
src/views/Task/daikeComponents/KtLetter.vue

@@ -829,6 +829,18 @@
                 <span v-if="reslistitem.result.jyPremium" style="font-size: 13px;color:#2D4D89" class="m-top-5" >优惠:{{reslistitem.result.noExportFee}}</span>
                 </div>
               </el-col>
+              <el-col :span="24"
+                v-show="reslistitem.quoteCode == '200' && reslistitem.result.feeNoDescription">
+                <div class="flex  offer-time" style="color:#D42426">
+                  <span>该车未匹配费用,不建议投保!</span>
+                  <el-tooltip class="item" effect="dark" content="优惠匹配错误信息" placement="top">
+                    <i class="el-icon-s-goods" @click="open3(reslistitem.namesimple+'优惠信息', reslistitem.result.feeNoDescription)"
+                      style="font-size:20px;transform: scale(0.8);vertical-align: middle;"
+                      :disabled="reslistitem.quoteCode == '200' && reslistitem.result.feeNoDescription"
+                      ></i>
+                  </el-tooltip>
+                </div>
+              </el-col>
               <el-col :span="24"
                 v-show="(reslistitem.quoteCode != '200') && (reslistitem.quoteCode != '0') && (reslistitem.quoteCode != '1')">
                 <div class="flex j-s offer-time" style="color:#D42426">{{ reslistitem.msg.length > 500 ?
@@ -946,6 +958,7 @@
                       style="font-size:20px;transform: scale(0.8);vertical-align: middle;"
                       v-show="(reslistitem.quoteCode == '200' && reslistitem.predictInfo && reslistitem.predictInfo.length > 0 && reslistitem.namesimple == '中国人寿')"></i>
                   </el-tooltip>
+
                   <el-button :disabled="reslistitem.namesimple == '众安财险' && reslistitem.result.tips == '需要验车'"
                     v-show="reslistitem.quoteCode == '200' && !('editStatus' in reslistitem.result)" type="text"
                     size="small" style="color:#2D4D89;font-size:14px" @click="hbsubmitdialog(reslistitem)">下单</el-button>
@@ -4066,7 +4079,7 @@ export default {
       );
     },
     taipingInsuranceChange(index) {
-      this.TPInsuranceData = this.taipingInsuranceData.find(val => val.rationType == index).fCkindConfigList 
+      this.TPInsuranceData = this.taipingInsuranceData.find(val => val.rationType == index).fCkindConfigList
       if (this.TPInsuranceData && this.TPInsuranceData.length) {
         this.taipingaccidentalDrivingVo = this.taipingInsuranceData.find(val => val.rationType == index);
       }
@@ -5058,7 +5071,17 @@ export default {
         title: Name,
         dangerouslyUseHTMLString: true,
         type: "warning",
-        message: Msg,
+        message:`<p>${Msg.replace(/\n/g, '<br>')}</p>`,
+        customClass: "customNotifyClass",
+        duration: 7000
+      });
+    },
+    open3(Name, Msg) {
+      this.$notify.info({
+        title: Name,
+        dangerouslyUseHTMLString: true,
+        type: "warning",
+        message:`<p>${Msg.replace(/\n/g, '<br>')}</p>`,
         customClass: "customNotifyClass",
         duration: 7000
       });
@@ -7819,7 +7842,7 @@ export default {
           }
           data.logoImg = this.iconfftter(res.data.inscompany);
           this.queryOrders = data;
-          
+
           this.$api.letter.getThemeByUserId().then(res => {
             if (res.code==200) {
               if(res.data.themeCode=='GD'){
@@ -7828,7 +7851,7 @@ export default {
               else {
                 this.$refs.quotationDialog.setBackupVisible(true);
               }
-            } 
+            }
           })
           // if (
           //   this.$store.state.user.roles.managementSource &&
@@ -7878,7 +7901,7 @@ export default {
               else {
                 this.codedialogVisible = true;
               }
-            } 
+            }
           })
         } else {
           this.$message({ message: res.msg, type: "warning" });