Просмотр исходного кода

诚泰财险增加是否验车

@dongkboy 2 лет назад
Родитель
Сommit
2444efc4be
2 измененных файлов с 17 добавлено и 14 удалено
  1. 13 5
      src/views/Task/daikeComponents/KtLetter.vue
  2. 4 9
      src/views/Task/mixin.js

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

@@ -1712,6 +1712,11 @@
                   <el-input style="width: 220px" size="small" :disabled="!lastCompanyId" v-model="reslistitem.coefficient"
                     placeholder="请输入内容"></el-input>
                 </div>
+                <div style="margin: 15px 0 15px 100px" class="flex j-c a-c">
+                  <span>是否验车</span>
+                  <el-switch v-model="reslistitem.isInspect" active-color="#D42426"
+                    style="margin-left: 10px;"></el-switch>
+                </div>
               </div>
 
             </template>
@@ -4573,7 +4578,6 @@ export default {
           name: "上年商业险保单",
           scroll: "snbaodan",
         },
-
       ],
       ProViewImg: "", //预览图片
       carfrontImg: "", //行驶证正面
@@ -5786,6 +5790,7 @@ export default {
           ele["apiType"] = "";
           ele["orderstatus"] = 0;
           ele.coefficient = "";
+          ele['isInspect'] = false;
           // ele.agreementId = ele.agreement[0].id;
           // ele.apiType = ele.agreement[0].apiType;
           ele.underwritingDescription =
@@ -8602,10 +8607,13 @@ export default {
         params.discount = this.totalCompanyList[num].discount;
         params.lastCompanyId = this.lastCompanyId;
       }
-      if (namesimple == "诚泰财险" && this.lastCompanyId) {
-        params.coefficient = this.totalCompanyList[num].coefficient;
-        params.discount = this.totalCompanyList[num].discount;
-        params.lastCompanyId = this.lastCompanyId;
+      if (namesimple == "诚泰财险") {
+        if (this.lastCompanyId && this.totalCompanyList[num].coefficient && this.totalCompanyList[num].discount) {
+          params.coefficient = this.totalCompanyList[num].coefficient;
+          params.discount = this.totalCompanyList[num].discount;
+          params.lastCompanyId = this.lastCompanyId;
+        }
+        params.isInspect = this.totalCompanyList[num].isInspect;
       }
       if (
         namesimple == "华农财险" &&

+ 4 - 9
src/views/Task/mixin.js

@@ -124,7 +124,7 @@ export const mixin = { // 导出混入对象
       pageResult: {},
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
-        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "product", label: "投保险种", minWidth: 100 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
@@ -133,12 +133,12 @@ export const mixin = { // 导出混入对象
         // { prop: "agreementName", label: "协议", minWidth: 160 },
         { prop: "licenseno", label: "车牌号", minWidth: 160 },
         { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
-        { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
         { prop: "createtime", label: "录单日期", minWidth: 160},
       ],
       columns1: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
-        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "product", label: "投保险种", minWidth: 100 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
@@ -147,17 +147,12 @@ export const mixin = { // 导出混入对象
         { prop: "licenseno", label: "车牌号", minWidth: 160 },
         { prop: "jqpremium", label: "交强险保费", minWidth: 160 },
         { prop: "sypremium", label: "商业险保费", minWidth: 160 },
-
-
         // { prop: "agreementName", label: "协议", minWidth: 160 },
         { prop: "taxamount", label: "车船税", minWidth: 160 },
         { prop: "jypremium", label: "驾意险保费", minWidth: 160 },
-
-      
-        
         // { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
         { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
-        { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
         { prop: "createtime", label: "录单日期", minWidth: 160},
       ],
       statusoptions: "",