|
|
@@ -1583,8 +1583,12 @@
|
|
|
<template
|
|
|
v-if="reslistitem.namesimple == '中国人寿' && reslistitem.checked && reslistitem.agreementId"
|
|
|
>
|
|
|
+ <div style="margin:15px 0 15px 100px">
|
|
|
+ <span >折扣:</span>
|
|
|
+ <el-input style="width:220px" :disabled="!lastCompanyId" size="small" v-model="reslistitem.discount" placeholder="请输入内容"></el-input>
|
|
|
+ </div>
|
|
|
<div class="flex f-c Driving-risk">
|
|
|
- <div class="dis a-c" style="margin-top:15px">
|
|
|
+ <div class="dis a-c" >
|
|
|
<span style="margin-right:15px;font-weight:bold">选择意外险</span>
|
|
|
<el-select
|
|
|
style="width: 250px;"
|
|
|
@@ -1675,7 +1679,7 @@
|
|
|
v-if="reslistitem.namesimple == '紫金财险' && reslistitem.checked && reslistitem.agreementId"
|
|
|
>
|
|
|
<div style="margin:15px 0 15px 100px">
|
|
|
- <span >自主定价系数</span>
|
|
|
+ <span >自主定价系数:</span>
|
|
|
<el-input style="width:220px" size="small" v-model="reslistitem.coefficient" placeholder="请输入内容"></el-input>
|
|
|
</div>
|
|
|
<div class="flex f-c Driving-risk">
|
|
|
@@ -4506,6 +4510,7 @@ export default {
|
|
|
businessVehicleUseoptions:[],
|
|
|
outOfBusinessVehicleUseoptions:[],
|
|
|
insOrderStatusoptions:[],
|
|
|
+ lastCompanyId:''
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -5353,6 +5358,9 @@ else{
|
|
|
res.data.forEach((val,index)=>{
|
|
|
this.$route.query.data.insAreaCompanyEditingDtos.forEach(ele=>{
|
|
|
if(val.namesimple==ele.inscompany){
|
|
|
+ if(ele.inscompany=='中国人寿' && ele.companyId){
|
|
|
+ this.lastCompanyId=ele.companyId
|
|
|
+ }
|
|
|
res.data[index].quoteCode=200
|
|
|
res.data[index].result=ele
|
|
|
}
|
|
|
@@ -6098,8 +6106,6 @@ else{
|
|
|
riskList: this.riskList,
|
|
|
vehicleAndVesselTax:this.vehicleAndVesselTaxForm,
|
|
|
};
|
|
|
- console.log(param,2222222222);
|
|
|
-
|
|
|
this.$api.letter.generateOrder(param).then(res => {
|
|
|
if (res.code == "200") {
|
|
|
//上传图片
|
|
|
@@ -6839,7 +6845,12 @@ else{
|
|
|
orderNo: this.orderno,
|
|
|
companyId: id,
|
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
|
+
|
|
|
};
|
|
|
+ if(namesimple=='中国人寿'&& this.lastCompanyId){
|
|
|
+ params.discount=this.totalCompanyList[num].discount
|
|
|
+ params.lastCompanyId=this.lastCompanyId
|
|
|
+ }
|
|
|
this.$api.letter[api](params).then(res => {
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
switch (namesimple) {
|
|
|
@@ -6861,6 +6872,9 @@ else{
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ if(namesimple=='中国人寿'&& res.data.companyId){
|
|
|
+ this.lastCompanyId = res.data.companyId;
|
|
|
+ }
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -8697,6 +8711,7 @@ else{
|
|
|
// this.selectedOptions3 = [];
|
|
|
this.orderno = "";
|
|
|
this.quoteno = "";
|
|
|
+ this.lastCompanyId = '';
|
|
|
this.HistoryList = [];
|
|
|
this.jqstartDate = this.transformTime1();
|
|
|
this.jqendDate = this.oneYearPast1(this.jqstartDate);
|