Merge branch 'feature/【20210125】投保人最低年龄修改' into release/20210125

This commit is contained in:
mengxiaolong
2021-01-25 20:55:25 +08:00

View File

@@ -441,7 +441,7 @@ export default {
value: '1'
}
],
maxDate: beforeDate.getBeforeYear(18),
maxDate: beforeDate.getBeforeYear(16),
codeDisabled: false, //获取验证码按钮是否禁用
countDown: 60, //倒计时
certiexpiredateRequired: true, //证件截止日期是否需要校验
@@ -1096,10 +1096,6 @@ export default {
if (age < 16) {
return this.$toast('亲投保人年龄必须大于等于16周岁哦~')
}
//投保人需大于等于 18 周岁
if (age < 18) {
return this.$toast('投保人必须是具有民事行为能力且有固定职业和收入的自然人,请确定')
}
//职业类型不能为 '一般学生'
if (this.userInfo.occupationCode == '2099907') {