mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 13:06:43 +08:00
[FIX]国富人寿附加投保人豁免保险费定期寿险-保费试算
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,3 +19,4 @@ yarn-error.log*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
.history/
|
||||
|
||||
@@ -63,14 +63,7 @@ export default {
|
||||
this.$toast('请选择产品')
|
||||
return
|
||||
}
|
||||
//930折中方案,豁免险选择
|
||||
let chooseProducts = JSON.parse(localStorage.chooseProducts)
|
||||
for (let i = 0; i < chooseProducts.length; i++) {
|
||||
if (chooseProducts[i].productCode == 'DCRS_A0001' && this.result.productCode == 'DCRS_A0001') {
|
||||
this.$toast('豁免险已选!')
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
//添加附加险
|
||||
this.addAddtionRisk()
|
||||
},
|
||||
@@ -178,7 +171,7 @@ export default {
|
||||
},
|
||||
//豁免险影响
|
||||
remitLimit(resultData) {
|
||||
//isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人
|
||||
//isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人 relationToAppnt 投被关系
|
||||
let isRemit = resultData.productTrialInfoDTO.isRemit
|
||||
if (isRemit == 1) return false
|
||||
let remitType = resultData.productTrialInfoDTO.remitType
|
||||
|
||||
@@ -141,10 +141,7 @@
|
||||
label="预计转入保费"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
<div
|
||||
class="flex justify-content-s pv10 border-bottom"
|
||||
v-if="isRelated && isFrom != 'proposal'"
|
||||
>
|
||||
<div class="flex justify-content-s pv10 border-bottom" v-if="isRelated && isFrom != 'proposal'">
|
||||
<van-field
|
||||
v-model="policyNo"
|
||||
clearable
|
||||
@@ -263,7 +260,7 @@ export default {
|
||||
}
|
||||
if (item.mainRiskCode != 'GFRS_M0008') {
|
||||
item.calFactorLst.map(i => {
|
||||
this.defalutAmt = i.displayAmount
|
||||
this.defalutAmt = i.displayAmount || 1
|
||||
console.log(i.displayAmount)
|
||||
console.log(i.defaultValue)
|
||||
this.mult = Number(i.displayAmount) / Number(i.defaultValue)
|
||||
@@ -546,7 +543,6 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
//2、豁免险跟主险联动,值减一
|
||||
//2、豁免险跟主险联动,豁免险缴费期间和保险期间同主险的缴费期间
|
||||
let remitIndex = this.getRemitIndex()
|
||||
if (!remitIndex) return
|
||||
@@ -697,9 +693,14 @@ export default {
|
||||
} else if (factor.type == 1) {
|
||||
if (factor.code == 'inputPrem') {
|
||||
trialInfo['prem'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
|
||||
} else {
|
||||
if (item.isRemit == 0) {
|
||||
trialInfo['amt'] = Number(factor.defaultValue) * Number(factor.moneyUnit)
|
||||
} else {
|
||||
trialInfo['amt'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
|
||||
}
|
||||
// trialInfo['amt'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
|
||||
}
|
||||
} else if (factor.type == 2) {
|
||||
trialInfo.jobLevel = this.saleInsuredPersonInfo[factor.code]
|
||||
} else if (factor.type == 3) {
|
||||
@@ -718,6 +719,7 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
console.log("trialInfo == ",trialInfo)
|
||||
//通用规则1:交费方式为一次交情,无交费期限
|
||||
if (trialInfo['payIntv'] == '0') {
|
||||
trialInfo['payEndYear'] = '1000'
|
||||
|
||||
Reference in New Issue
Block a user