出发地必须选至县级及以下
This commit is contained in:
@@ -572,8 +572,9 @@ export default {
|
||||
return this.$toast('请选择出发地')
|
||||
}
|
||||
|
||||
if (this.startAreaId.substr(this.startAreaId.length - 3, 3) === '000') {
|
||||
return this.$toast('出发地必须选到村或社区')
|
||||
if (this.startAreaId.substr(4,this.startAreaId.length - 4) === '00000000') {
|
||||
return this.$toast('出发地必须选至县级及以下')
|
||||
// return console.log(this.startAreaId.substr(6,this.startAreaId.length - 6));
|
||||
}
|
||||
|
||||
// if (!this.form.startAddress) {
|
||||
|
||||
Reference in New Issue
Block a user