Compare commits

...

3 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
7d74002c94 建议书保费试算页面保存试算信息接口入参修改 2023-07-17 17:17:57 +08:00
liu.xiaofeng@ebiz-digits.com
22e821a565 客户管理证件类型截止日期校验去掉 2023-07-13 17:38:48 +08:00
liu.xiaofeng@ebiz-digits.com
3c2896dd30 投保流程投保人被保人受益人证件有效止期添加校验 2023-07-13 17:38:44 +08:00
5 changed files with 17 additions and 8 deletions

View File

@@ -653,12 +653,6 @@ export default {
// return
// }
this.userInfo.effectiveDateType = false
//如果录入日期早于当前日期
if (Date.parse(val) < Date.parse(new Date())) {
this.userInfo.certiexpiredate = ''
this.$refs.certiexpiredate.date = ''
return this.$toast('您的证件已过期')
}
}
break
case '2':

View File

@@ -2956,7 +2956,7 @@ export default {
}
})
let data = {
serialNo:this.$CacheUtils.getLocItem('proposalNo'),
serialNo:this.$route.query.proposalOrderNo,
mainRiskId:insuanceId+'',
trialJsonStr:localStorage.chooseProducts
}

View File

@@ -958,6 +958,11 @@ export default {
}
//证件止期
let val = this.userInfo.certiexpiredate
if (Date.parse(val) < Date.parse(new Date())) {
this.userInfo.certiexpiredate = ''
this.$refs.certiexpiredate.date = ''
return this.$toast('您的证件已过期')
}
//年龄在16周岁以下
if (age < 16) {
if (new Date(val).getFullYear() - new Date(this.userInfo.certificateValidate).getFullYear() != 5) {

View File

@@ -1110,7 +1110,12 @@ export default {
//身份证证件类型的判断
//证件止期
let val = this.userInfo.certiexpiredate
let val = this.userInfo.certiexpiredate
if (Date.parse(val) < Date.parse(new Date())) {
this.userInfo.certiexpiredate = ''
this.$refs.certiexpiredate.date = ''
return this.$toast('您的证件已过期')
}
//年龄在16周岁以下
if (age < 16) {
if (new Date(val).getFullYear() - new Date(this.userInfo.certificateValidate).getFullYear() != 5) {

View File

@@ -1469,6 +1469,11 @@ export default {
//证件止期
let val = this.userInfo.certiexpiredate
if (Date.parse(val) < Date.parse(new Date())) {
this.userInfo.certiexpiredate = ''
this.$refs.certiexpiredate.date = ''
return this.$toast('您的证件已过期')
}
//年龄在16周岁以下
if (age < 16) {
if (new Date(val).getFullYear() - new Date(this.userInfo.certificateValidate).getFullYear() != 5) {