28229
This commit is contained in:
@@ -223,7 +223,7 @@ export default {
|
||||
if(!/[^0]0{0,2}$/.test(this.form.currentAreaId)) {
|
||||
return this.$u.toast('现住址必须选到村级')
|
||||
}
|
||||
if(!/[^0]0{0,2}$/.test(this.form.householdAreaId)) {
|
||||
if(this.form.householdAreaId && !/[^0]0{0,2}$/.test(this.form.householdAreaId)) {
|
||||
return this.$u.toast('户籍地必须选到村级')
|
||||
}
|
||||
this.form.age = this.$calcAge(this.form.idNumber)
|
||||
|
||||
Reference in New Issue
Block a user