mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 12:36:43 +08:00
GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版)_1 保费计算险种提示语修改、签名页特别提示添加 --提交人:阳华祥
This commit is contained in:
@@ -488,17 +488,18 @@ export default {
|
||||
return
|
||||
}
|
||||
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex].rules[dutyItemIndex]
|
||||
let showHint = this.chooseProducts[productIndex].hint
|
||||
if (value < min || value > max) {
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
} else {
|
||||
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
Dialog.alert({
|
||||
message: localStorage.hint
|
||||
message: showHint
|
||||
}).then(() => {
|
||||
currentEle.defaultDutyAmt = currentEle.minDutyAmt
|
||||
})
|
||||
|
||||
// this.$toast(localStorage.hint)
|
||||
// this.$toast(showHint)
|
||||
} else {
|
||||
// this.mainRiskInfluenceAddRisk()
|
||||
// currentEle['amt'] = Number(defalutValue) * Number(currentEle.moneyUnit)
|
||||
@@ -1071,18 +1072,19 @@ export default {
|
||||
: this.chooseProducts[productIndex].calFactorLst[calFactorIndex]
|
||||
//改动原因:孝心保产品有对年龄的特殊要求
|
||||
//添加判断,是否是孝心保产品
|
||||
let showHint = this.chooseProducts[productIndex].hint
|
||||
let productCode = localStorage.trialList == '' ? '' : JSON.parse(localStorage.trialList)[0].productCode
|
||||
if (productCode == 'GFRS_M0014') {
|
||||
//被保险人年龄如果在50-65区间
|
||||
if (this.saleInsuredPersonInfo.age >= 50 && this.saleInsuredPersonInfo.age <= 65) {
|
||||
//使用rules规则里的第二条控制保额份数
|
||||
if (Number(defalutValue) < Number(riskFactor.rules[1].minPrem) || Number(defalutValue) > Number(riskFactor.rules[1].maxPrem)) {
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
this.mainRiskInfluenceAddRisk()
|
||||
@@ -1094,12 +1096,12 @@ export default {
|
||||
} else if (this.saleInsuredPersonInfo.age >= 66 && this.saleInsuredPersonInfo.age <= 75) {
|
||||
//使用rules规则里的第一条控制保额份数
|
||||
if (Number(defalutValue) < Number(riskFactor.rules[0].minPrem) || Number(defalutValue) > Number(riskFactor.rules[0].maxPrem)) {
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
this.mainRiskInfluenceAddRisk()
|
||||
@@ -1144,12 +1146,12 @@ export default {
|
||||
}
|
||||
} else {
|
||||
if (Number(defalutValue) < Number(min) || Number(defalutValue) > Number(max)) {
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
// defalutValue = currentEle.rules[productIndex].displayAmount
|
||||
this.$toast(localStorage.hint)
|
||||
this.$toast(showHint)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
this.mainRiskInfluenceAddRisk()
|
||||
|
||||
Reference in New Issue
Block a user