From da8958c9af035db9b323fc1d40211dad95125c91 Mon Sep 17 00:00:00 2001 From: liyuetong Date: Thu, 28 Oct 2021 20:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BC=BA=E5=A4=B1--=E4=B8=BB?= =?UTF-8?q?=E9=99=A9=E7=9A=84=E4=BA=A4=E8=B4=B9=E6=9C=9F=E9=97=B4=E8=81=94?= =?UTF-8?q?=E5=8A=A8=E5=9B=BD=E5=AF=8C=E4=BA=BA=E5=AF=BF=E9=99=84=E5=8A=A0?= =?UTF-8?q?=E4=B8=A4=E5=85=A8=E4=BF=9D=E9=99=A9=E7=9A=84=E4=BA=A4=E8=B4=B9?= =?UTF-8?q?=E6=9C=9F=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 9b5801d4b..97e695310 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -1181,6 +1181,14 @@ export default { this.$toast('被保险人年龄不适合该交费期间!') return true } + if ( + currentEle.rules[i].payEndYear == value && + currentEle.rules[i].payEndYearFlag == 'A' && + (age < currentEle.rules[i].minAge || age > currentEle.rules[i].maxAge) + ) { + this.$toast('被保险人年龄不适合该交费期间!') + return true + } } return false },