From 2faf80cc2232f5a9886f7e191f97417c3d024e9c Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Sun, 9 Oct 2022 14:01:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=8F=91=E5=9C=B0=E5=BF=85=E9=A1=BB?= =?UTF-8?q?=E9=80=89=E8=87=B3=E5=8E=BF=E7=BA=A7=E5=8F=8A=E4=BB=A5=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppGetewayRegister/getewayAdd.vue | 5 +- .../AppReturnHomeRegister/Detail.vue | 58 +++++-------------- 2 files changed, 18 insertions(+), 45 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 4e1866a..075f67c 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -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) { diff --git a/src/project/pingchang/AppReturnHomeRegister/Detail.vue b/src/project/pingchang/AppReturnHomeRegister/Detail.vue index f203a8e..6ea89ed 100644 --- a/src/project/pingchang/AppReturnHomeRegister/Detail.vue +++ b/src/project/pingchang/AppReturnHomeRegister/Detail.vue @@ -13,7 +13,6 @@