BUG 29436

This commit is contained in:
aixianling
2022-04-29 16:08:43 +08:00
parent 85324959a0
commit f764b37c8a

View File

@@ -383,7 +383,7 @@ export default {
healthyStatusList: [],
guaranteeList: [],
basicsList: [],
file: [],
file: [],
},
isSelectUser: false, //是否选择人员
}
@@ -397,8 +397,8 @@ export default {
this.form.phone =''
this.form.currentAreaId = ''
this.form.currentAddress = ''
this.form.birthDate = ''
this.form.sex = ''
this.form.birthDate = ''
this.form.sex = ''
this.form.age = ''
return
}
@@ -439,7 +439,7 @@ export default {
handleIdNumberAutocomplete(v) {
var idNumber = v
if(v.length == 20) {
idNumber = v.substring(0, 17)
idNumber = v.substring(0, 18)
}
let {birthday: birthDate, sex} = this.idCardNoUtil.getIdCardInfo(idNumber)
this.form = {...this.form, birthDate, sex, age: this.$calcAge(idNumber)}