|
|
@@ -4076,9 +4076,11 @@ export default {
|
|
|
anshengInsuranceChange(index) {
|
|
|
let data = this.anshengInsuranceData.find(val => val.projectCode == index);
|
|
|
// this.anshengaccidentalDrivingVo.personFlag = data.personFlag;
|
|
|
- this.anshengaccidentalDrivingVo.projectName = data.projectName;
|
|
|
- this.anshengaccidentalDrivingVo.planCode = data.projectCode;
|
|
|
+ // this.anshengaccidentalDrivingVo.projectName = data.projectName;
|
|
|
+ // this.anshengaccidentalDrivingVo.planCode = data.projectCode;
|
|
|
// this.anshengaccidentalDrivingVo.planSeries = data.planSeries;
|
|
|
+ this.anshengaccidentalDrivingVo.parentName = data.projectName;
|
|
|
+ this.anshengaccidentalDrivingVo.parentCode = data.projectCode;
|
|
|
this.anshengInsuranceData1 = [];
|
|
|
this.anshengInsuranceData1 = data.children;
|
|
|
},
|
|
|
@@ -4630,8 +4632,9 @@ export default {
|
|
|
//安盛驾意险选择
|
|
|
ASDrivingRadio(row) {
|
|
|
this.AStemplateSelection = row.projectCode;
|
|
|
- this.anshengaccidentalDrivingVo.projectCode = row.projectCode;
|
|
|
- this.anshengaccidentalDrivingVo.projectName = row.projectName;
|
|
|
+ this.anshengaccidentalDrivingVo=Object.assign({...row,...this.anshengaccidentalDrivingVo})
|
|
|
+ // this.anshengaccidentalDrivingVo.projectCode = row.projectCode;
|
|
|
+ // this.anshengaccidentalDrivingVo.projectName = row.projectName;
|
|
|
},
|
|
|
ZADrivingRadio(row) {
|
|
|
this.ZADrivingChange(row);
|
|
|
@@ -5490,15 +5493,19 @@ export default {
|
|
|
//中煤报价
|
|
|
zhongmei(num, id) {
|
|
|
let accidentalDrivingVo = {};
|
|
|
- // if(this.zhongmeiaccidentalDrivingVo){
|
|
|
- // accidentalDrivingVo.rideRiskCode=this.zhongmeiaccidentalDrivingVo.schemeNo;
|
|
|
- // accidentalDrivingVo.rideRiskName=this.zhongmeiaccidentalDrivingVo.schemeName;
|
|
|
- // accidentalDrivingVo.quantity=this.zhongmeiaccidentalDrivingVo.quantity;
|
|
|
+
|
|
|
+ // if (this.accidentFormZM.projectCode) {
|
|
|
+ // accidentalDrivingVo = {
|
|
|
+ // projectCode: this.accidentFormZM.projectCode,
|
|
|
+ // projectName: this.accidentFormZM.projectName,
|
|
|
+ // quantity: this.accidentFormZM.quantity
|
|
|
+ // ? this.accidentFormZM.quantity
|
|
|
+ // : "1"
|
|
|
+ // };
|
|
|
// }
|
|
|
if (this.accidentFormZM.projectCode) {
|
|
|
accidentalDrivingVo = {
|
|
|
- projectCode: this.accidentFormZM.projectCode,
|
|
|
- projectName: this.accidentFormZM.projectName,
|
|
|
+ ...this.zhongmeiInsuranceData.find(e=>e.projectCode==this.accidentFormZM.projectCode),
|
|
|
quantity: this.accidentFormZM.quantity
|
|
|
? this.accidentFormZM.quantity
|
|
|
: "1"
|
|
|
@@ -5788,13 +5795,11 @@ export default {
|
|
|
this.isApplicantShow = false;
|
|
|
let accidentalDrivingVo = {};
|
|
|
if (this.accidentForm.projectCode) {
|
|
|
- let data = this.accidentDataList.find(
|
|
|
+ let data= this.accidentDataList.find(
|
|
|
val => val.projectCode == this.accidentForm.accidentType
|
|
|
);
|
|
|
-
|
|
|
accidentalDrivingVo = {
|
|
|
- rideRiskCode: data.projectCode ? data.projectCode : "",
|
|
|
- rideRiskName: data.projectName ? data.projectName : "",
|
|
|
+ ...data,
|
|
|
quantity: this.accidentForm.quantity ? this.accidentForm.quantity : ""
|
|
|
};
|
|
|
}
|
|
|
@@ -5899,10 +5904,10 @@ export default {
|
|
|
});
|
|
|
let accidentalDrivingVo = {};
|
|
|
if (this.guoRenaccidentForm.goodsCode) {
|
|
|
- let goodsName = this.guoRenaccidentDataList.find(val => val.projectCode == this.guoRenaccidentForm.goodsCode).projectName
|
|
|
+ let data= this.guoRenaccidentDataList.find(val => val.projectCode == this.guoRenaccidentForm.goodsCode)
|
|
|
accidentalDrivingVo = {
|
|
|
+ ...data,
|
|
|
...this.guoRenaccidentForm,
|
|
|
- goodsName
|
|
|
};
|
|
|
}
|
|
|
let params = {
|