From 6a5a7335cd84752f9b96c8ecfb501c42bca4aaf5 Mon Sep 17 00:00:00 2001 From: donqi Date: Tue, 26 Jul 2022 22:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8C=89=E9=92=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/certification.vue | 15 ++++++++++++--- pages/my/master-occupancy.vue | 6 +++--- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/pages/my/certification.vue b/pages/my/certification.vue index 2fecf53..eee3e3f 100644 --- a/pages/my/certification.vue +++ b/pages/my/certification.vue @@ -143,7 +143,7 @@ - + @@ -229,8 +229,8 @@ - - + + @@ -424,6 +424,15 @@ this.curStep = this.curStep === 0 ? 0 : --this.curStep; }, nextStep() { + if (this.curStep === 0){ + if (!this.realNameInfo.name || !this.realNameInfo.idCardNum || !this.realNameInfo.idCardImgList || !this.realNameInfo.idCardImgList.length) { + uni.showToast({ + title: '请完成必填项的填写', + icon: 'none' + }) + return; + } + } this.curStep = this.curStep === this.stepList.length - 1 ? this.curStep : ++this.curStep; }, /* 经营主体 start */ diff --git a/pages/my/master-occupancy.vue b/pages/my/master-occupancy.vue index ea46209..6c5b710 100644 --- a/pages/my/master-occupancy.vue +++ b/pages/my/master-occupancy.vue @@ -58,7 +58,7 @@ - + @@ -107,9 +107,9 @@ - + - +