mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 02:16:44 +08:00
附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费 -测试反馈修改 --提交人:白金岩
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<!-- <div v-if="item.isRemit == 1 && isTrial == '1'"> -->
|
||||
<div v-for="(riskFactor, riskFactorIndex) in item.calFactorLst" :key="riskFactorIndex">
|
||||
<!--riskFactor.type 1输入框和步进器 0 下拉选 -->
|
||||
<div class="flex justify-content-s pv10 border-bottom" v-if="riskFactor.type == 1">
|
||||
<div class="flex justify-content-s pv10 border-bottom" v-if="riskFactor.type == 1 && item.productCode != 'GFRS_A0011'">
|
||||
<div class="flex align-items-c">
|
||||
<span v-if="riskFactor.suffix" class="fs14">{{ riskFactor.name + '(' + riskFactor.suffix + ')' }}</span>
|
||||
<span v-else class="fs14">{{ riskFactor.name }} </span>
|
||||
@@ -52,6 +52,10 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费 此处保额单独展示 -->
|
||||
<div v-else-if="item.productCode == 'GFRS_A0011' && riskFactor.type == 1 && riskFactor.code == 'amt'" class="flex justify-content-s pv10 border-bottom">
|
||||
<van-field v-model="riskFactor.defaultValue" readonly :label="riskFactor.name + '(' + riskFactor.suffix + ')'" />
|
||||
</div>
|
||||
<!-- //主险的交费期间联动国富人寿附加两全(GFRS_A0011)保险的交费期间 -->
|
||||
<div
|
||||
class="flex justify-content-s pv10 border-bottom"
|
||||
@@ -1434,6 +1438,13 @@ export default {
|
||||
item2.payEndYearFlag = 'Y'
|
||||
item2.payEndYear = Number(mainRiskInfo.payEndYear.payEndYear)
|
||||
item2.showContent = item2.payEndYear + '年交'
|
||||
}else if (item2.code == 'amt') {
|
||||
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
|
||||
let trialList = JSON.parse(localStorage.trialList)
|
||||
item2.amt = trialList[0].prem
|
||||
item2.defaultValue = trialList[0].prem
|
||||
item2.moneyUnit = 1
|
||||
item2.suffix = '元'
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -1810,7 +1821,13 @@ export default {
|
||||
trialInfo['amt'] = null
|
||||
}
|
||||
} else {
|
||||
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
|
||||
if(item.productCode == 'GFRS_A0011'){
|
||||
// 设置附加两全保额为空 后台试算
|
||||
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
|
||||
trialInfo['amt'] = null
|
||||
}else {
|
||||
trialInfo['amt'] = Number(factor.displayAmount) * Number(factor.moneyUnit)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (factor.type == 2) {
|
||||
@@ -2275,7 +2292,10 @@ export default {
|
||||
if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0009'|| item.productCode == 'GFRS_A0010'|| item.productCode == 'GFRS_A0007') {
|
||||
this.trialInfos[index].amt = this.trialList[index].amt
|
||||
}
|
||||
|
||||
// GFRS_A0011-附加两全 属于非豁免险 但附加两全保额=主险年交保费+其他不带豁免责任的长期期交附加险年交保费
|
||||
if (item.productCode == 'GFRS_A0011') {
|
||||
this.trialInfos[index].amt = this.trialList[0].prem
|
||||
}
|
||||
if (!this.renewalShow(this.mainRiskCode)) {
|
||||
for (let prop of item.calFactorLst) {
|
||||
if (prop.type === '4') {
|
||||
|
||||
Reference in New Issue
Block a user