mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 11:06:43 +08:00
建议书-保费试算页面-保存逻辑调整
This commit is contained in:
@@ -2713,13 +2713,19 @@ export default {
|
||||
if (item.isMainRisk == 0) {
|
||||
mainRiskCode = item.productCode
|
||||
}
|
||||
let thismyinsuanceIdInfo = JSON.parse(this.$route.query.insuanceIdInfo)
|
||||
|
||||
let insuanceId = ''
|
||||
thismyinsuanceIdInfo.forEach(item01=>{
|
||||
if(item01.isMainRisk == item.productCode){
|
||||
insuanceId = item01.insuanceId
|
||||
}
|
||||
})
|
||||
|
||||
if(this.$route.query.insuanceIdInfo){
|
||||
let thismyinsuanceIdInfo = JSON.parse(this.$route.query.insuanceIdInfo)
|
||||
debugger
|
||||
thismyinsuanceIdInfo.forEach(item01=>{
|
||||
if(item01.isMainRisk == item.productCode){
|
||||
insuanceId = item01.insuanceId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
let riskItem = {
|
||||
isMainRisk: item.isMainRisk,
|
||||
riskName: item.riskName,
|
||||
@@ -2729,10 +2735,12 @@ export default {
|
||||
prem: this.trialList[index] && this.trialList[index].prem,
|
||||
standPrem: this.trialList[index] && this.trialList[index].standPrem,
|
||||
predictTransferPrem: item.predictTransferPrem,
|
||||
thirdInsuraceNo: this.policyNo,
|
||||
insuanceId:insuanceId //编辑时,添加主险id
|
||||
thirdInsuraceNo: this.policyNo
|
||||
// mult: this.mult
|
||||
}
|
||||
if(this.$route.query.insuanceIdInfo){
|
||||
riskItem.insuanceId = insuanceId
|
||||
}
|
||||
if (item.hasPredictTransferPrem && item.hasPredictTransferPrem === '0') {
|
||||
//增加万能险 预计转入保费校验
|
||||
rollInResult = this.rollInCheck(item.predictTransferPrem)
|
||||
|
||||
Reference in New Issue
Block a user