mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 12:46:43 +08:00
[fix]解决代码重复提交问题
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user