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