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