diff --git a/src/views/ebiz/common/AddRiskList.vue b/src/views/ebiz/common/AddRiskList.vue index 6a15b5ea4..5abe3d653 100644 --- a/src/views/ebiz/common/AddRiskList.vue +++ b/src/views/ebiz/common/AddRiskList.vue @@ -122,6 +122,7 @@ export default { let currentProductInfo = { calFactorLst, isMainRisk: 1, + hint: resultData.hint, riskType: resultData.riskType, riskName: this.result.riskName, productCode: this.result.productCode, diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index e9a1e3a10..bee47e640 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -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() diff --git a/src/views/ebiz/common/MainRiskList.vue b/src/views/ebiz/common/MainRiskList.vue index b5922a808..d2e611839 100644 --- a/src/views/ebiz/common/MainRiskList.vue +++ b/src/views/ebiz/common/MainRiskList.vue @@ -171,6 +171,7 @@ export default { calFactorLst, hasAddtionRisk, isMainRisk: 0, + hint: resultData.hint, riskType: resultData.riskType, riskName: this.result.riskName, productCode: this.result.riskProductCode, diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index cb841cdae..431af6fb4 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -729,6 +729,17 @@ export default { : '您以无社保身份投保,理赔时,若未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例和免赔额分别70%,100元;理赔时,若通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为90%,免赔额为0元。' Dialog({ message }) } + } else { + // 附加住院医疗险 GFRS_A0004 + if ( + !!res.orderDTO.productDTO && + !!res.orderDTO.productDTO.special && + !!res.orderDTO.productDTO.special.content && + res.orderDTO.productDTO.special.content !== '' + ) { + const message = res.orderDTO.productDTO.special.content + Dialog({ message }) + } } localStorage.setItem('lastOrderNo', data.orderNo)