Explorar el Código

报价单保费数据纠正

@dongkboy hace 2 semanas
padre
commit
f4215d2f66
Se han modificado 1 ficheros con 8 adiciones y 6 borrados
  1. 8 6
      pages/quote/quotation.vue

+ 8 - 6
pages/quote/quotation.vue

@@ -55,13 +55,13 @@
 								</view>
 								<view class="tr dis a-c j-c" v-for="(item,index) in kindInfoVo" :key="index">
 									<text class="td special">{{item.kindName}}</text>
-									<text v-if="['A'].includes(item.kindCode)" class="td">投保</text>
+									<text v-if="['A'].includes(item.kindCode)" class="td">{{item.amount}}</text>
 									<text v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
 										class="td">{{convertedValue(item.unitAmount)}}</text>
 									<text v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
 										class="td">{{item.amount}}%</text>
 									<text v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)"
-										class="td">{{item.serviceTimes}}次</text>
+										class="td">{{item.unitAmount}}次</text>
 									<text v-else class="td">{{convertedValue(item.amount)}}</text>
 									<text class="td">{{item.premium?item.premium:'-'}}</text>
 								</view>
@@ -73,9 +73,9 @@
 									<text class="th">保费</text>
 								</view>
 								<view class="tr dis a-c j-c" v-for="(item,index) in accidentalDrivings" :key="index">
-									<text class="td special">1119险种5座非营运客车 保额21000保费5(山西)</text>
-									<text class="td">投保</text>
-									<text class="td">10252.00</text>
+									<text class="td special">{{item.productName}}</text>
+									<text class="td">{{item.quantity}}份</text>
+									<text class="td">{{item.sumAmount}}</text>
 								</view>
 							</view>
 							<view class="item dis a-c j-s mt-3">
@@ -170,6 +170,8 @@
 					this.policyHolderInfo = res.data.policyHolderInfo;
 					this.insuredPersonInfo = res.data.insuredPersonInfo;
 					this.insCompanyVo = res.data.insCompanyVo[0];
+					this.kindInfoVo = this.kindInfoVo.filter(item => item.kindCode != 'J1')
+
 				}
 			}
 		},
@@ -281,7 +283,7 @@
 	}
 
 	/* 背景图 */
-	.back {
+	.paymentCode-back {
 		width: 100%;
 		height: 492rpx;
 		position: fixed;