|
|
@@ -3722,6 +3722,7 @@ export default {
|
|
|
case "MJ4":
|
|
|
eleA.amount = eleB.deductibleRate;
|
|
|
case "A":
|
|
|
+ eleA.amount = JSON.stringify(eleB.amount);
|
|
|
this.protocolJudge('A', true)
|
|
|
break;
|
|
|
default:
|
|
|
@@ -5122,35 +5123,52 @@ export default {
|
|
|
if (this.tbczcarShow && this.imageList2.length > 0) {
|
|
|
//投保人同车主
|
|
|
this.imageList3 = JSON.parse(JSON.stringify(this.imageList2));
|
|
|
- console.log(this.imageList3,1111111111);
|
|
|
- if (this.imageList3.length == 1) {
|
|
|
- this.imageList3[0].imageType = "C03";
|
|
|
- } else {
|
|
|
- this.imageList3[0].imageType = "C03";
|
|
|
- this.imageList3[1].imageType = "D03";
|
|
|
+ if (this.imageList3.length == 1 ) {
|
|
|
+ this.imageList3[0].imageType = this.imageList3[0].imageType.includes('C0')?"C03":'D03'
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.imageList3.forEach(e=>{
|
|
|
+ e.imageType= e.imageType.includes('C0')?"C03":'D03'
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
- console.log(this.imageList3,22222222222);
|
|
|
|
|
|
if (this.bbczcarShow && this.imageList2.length > 0) {
|
|
|
//被保人同车主
|
|
|
this.imageList4 = JSON.parse(JSON.stringify(this.imageList2));
|
|
|
- if (this.imageList4.length == 1) {
|
|
|
- this.imageList4[0].imageType = "C04";
|
|
|
- } else {
|
|
|
- this.imageList4[0].imageType = "C04";
|
|
|
- this.imageList4[1].imageType = "D04";
|
|
|
+ if (this.imageList4.length == 1 ) {
|
|
|
+ this.imageList4[0].imageType = this.imageList4[0].imageType.includes('C0')?"C04":'D04'
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.imageList4.forEach(e=>{
|
|
|
+ e.imageType= e.imageType.includes('C0')?"C04":'D04'
|
|
|
+ })
|
|
|
}
|
|
|
+ // if (this.imageList4.length == 1) {
|
|
|
+ // this.imageList4[0].imageType = "C04";
|
|
|
+ // }
|
|
|
+ // else {
|
|
|
+ // this.imageList4[0].imageType = "C04";
|
|
|
+ // this.imageList4[1].imageType = "D04";
|
|
|
+ // }
|
|
|
}
|
|
|
if (this.bbtbcarShow && this.imageList3.length > 0) {
|
|
|
//被保人同投保人
|
|
|
this.imageList4 = JSON.parse(JSON.stringify(this.imageList3));
|
|
|
- if (this.imageList4.length == 1) {
|
|
|
- this.imageList4[0].imageType = "C04";
|
|
|
- } else {
|
|
|
- this.imageList4[0].imageType = "C04";
|
|
|
- this.imageList4[1].imageType = "D04";
|
|
|
+ if (this.imageList4.length == 1 ) {
|
|
|
+ this.imageList4[0].imageType = this.imageList4[0].imageType.includes('C0')?"C04":'D04'
|
|
|
}
|
|
|
+ else {
|
|
|
+ this.imageList4.forEach(e=>{
|
|
|
+ e.imageType= e.imageType.includes('C0')?"C04":'D04'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // if (this.imageList4.length == 1) {
|
|
|
+ // this.imageList4[0].imageType = "C04";
|
|
|
+ // } else {
|
|
|
+ // this.imageList4[0].imageType = "C04";
|
|
|
+ // this.imageList4[1].imageType = "D04";
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
//日期长度<10处理
|