Commit 7061c9d4 by 潘琦

生育全程签约居住地BUG修复;

parent f918eca5
......@@ -83,7 +83,7 @@
<i class="glyphicon glyphicon-menu-right"></i>
</div>
</div>
<span v-show="!BaseValidate.addressState" class="small-hint">请选择现在居住地址</span>
<span v-show="!BaseValidate.addressState" class="small-hint">请选择完整现居住地址</span>
</div>
</div>
<div class="tr">
......@@ -959,7 +959,11 @@ export default {
if (this.BaseForm.address === '') {
this.BaseValidate.addressState = false
} else {
this.BaseValidate.addressState = true
if (this.addressForm.ProvinceCode !== '' && this.addressForm.CityCode !== '' && this.addressForm.AreaCode !== '' && this.addressForm.StreetCode !== '' && this.addressForm.VillagesCode !== '') {
this.BaseValidate.addressState = true
} else {
this.BaseValidate.addressState = false
}
}
},
BaseValidateStreet () { // 详细地址
......@@ -1086,6 +1090,10 @@ export default {
if (this.addressForm.villages !== '') {
this.BaseForm.subAddress = this.BaseForm.subAddress + ' ' + this.addressForm.villages
}
if (this.addressForm.street === '' && this.addressForm.villages === '') {
this.BaseForm.subAddress = ''
}
},
openPopupOrg () {
if (this.addressForm.AreaCode !== '') {
......
......@@ -999,6 +999,10 @@ export default {
if (this.addressForm.villages !== '') {
this.BaseForm.subAddress = this.BaseForm.subAddress + ' ' + this.addressForm.villages
}
if (this.addressForm.street === '' && this.addressForm.villages === '') {
this.BaseForm.subAddress = ''
}
},
openPopupOrg () {
if (this.addressForm.AreaCode !== '') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment