证件截止日期和是否长期联动关系处理

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2024-01-15 16:57:36 +08:00
parent bf81498b35
commit 7d05f28f2c
4 changed files with 13 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ export default {
* @Description: 年满46周岁的公民申领居民身份证有效期为长期
* @Date: 2023/7/4
**/
else if (startage > 65) {
else if (startage > 45) {
return endDate
}
},

View File

@@ -643,6 +643,10 @@ export default {
this.effectiveDateTypeAble = age <= 45
if(this.userInfo.birthday){
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(age,val)
if(this.userInfo.certiexpiredate) {
this.effectiveDateTypeAble = true
this.userInfo.effectiveDateType = false
}
}
}
}

View File

@@ -1011,6 +1011,10 @@
this.effectiveDateTypeAble = age <= 45
if(this.userInfo.birthday){
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,val)
if(this.userInfo.certiexpiredate) {
this.effectiveDateTypeAble = true
this.userInfo.effectiveDateType = false
}
}
}
}

View File

@@ -1111,6 +1111,10 @@
this.effectiveDateTypeAble = age <= 45
if(this.userInfo.birthday){
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,val)
if(this.userInfo.certiexpiredate) {
this.effectiveDateTypeAble = true
this.userInfo.effectiveDateType = false
}
}
}
}