[fix]解决代码重复提交问题

This commit is contained in:
yuweiqi
2020-04-29 13:04:56 +08:00
parent 3bd4d4258a
commit 19242fdc5a
2 changed files with 0 additions and 17 deletions

View File

@@ -751,10 +751,6 @@ export default {
if (this.userInfo.idType == '1') {
this.effectiveDateTypeAble = !(age > 45)
}
//如果年龄小于等于16岁工作单位默认值为
if (age <= 16) {
this.userInfo.workcompany = this.userInfo.workcompany || '无'
}
}
break
}
@@ -1286,11 +1282,6 @@ export default {
this.effectiveDateTypeAble = idToData(val).age <= 45
this.userInfo.birthday = idToData(val).birthday
this.userInfo.sex = idToData(val).sex
console.log('111 = ', idToData(val).age <= 16)
if (idToData(val).age <= 16) {
//年龄小于等于16岁默认工作单位为无
this.userInfo.workcompany = this.userInfo.workcompany || '无'
}
if (idToData(val).age > 45) {
if (source) {
this.userInfo.effectiveDateType = true

View File

@@ -1011,10 +1011,6 @@ export default {
// this.userInfo.marriage = ''
}
}
//如果年龄小于等于16岁工作单位默认值为
if (age <= 16) {
this.userInfo.workcompany = this.userInfo.workcompany || '无'
}
//出生证有效期
// if (this.userInfo.idType == '3') {
// if (Date.parse(this.userInfo.certiexpiredate) - Date.parse(val) > Date.parse('1973-01-01')) {
@@ -1659,10 +1655,6 @@ export default {
this.userInfo.marriage = ''
}
}
if (idToData(val).age <= 16) {
//年龄小于等于16岁默认工作单位为无
this.userInfo.workcompany = this.userInfo.workcompany || '无'
}
if (idToData(val).age > 45) {
// this.idLimit = true
// this.isRequired = false