From b1afe0e384d9aab9ab3659c1b6238bb849dbff80 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Fri, 13 Oct 2023 18:12:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/store/settled/index.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue index 66c4f08..fbc3aa0 100644 --- a/pages/store/settled/index.vue +++ b/pages/store/settled/index.vue @@ -409,7 +409,7 @@ }) } this.getArea() - this.shoplist() + this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 45; }, onShow() { @@ -471,9 +471,10 @@ }, //获取商户入驻申请协议 - shoplist() { + shoplist(val) { + agreeiness({ - type: 'mer_services_agree' + type: val }).then(res => { this.detail = res.data }) @@ -601,6 +602,13 @@ let idx = e.target.value this.merchantData.mer_type = this.storeTypeArr[idx]['mer_type_id'] this.mer_storeType = this.storeTypeArr[idx]['type_name'] + console.log(this.storeTypeArr[idx]['type_code'] == "TypeStore") + if(this.storeTypeArr[idx]['type_code']== 'TypeStore'&&this.merchantData.mer_type){ + this.shoplist('sys_intention_agree') + }else{ + this.shoplist('mer_supply_agree') + + } this.validateBtn() },