From 7dfa103d122c25b3e2d50fd198468de15b9b4315 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 21 Nov 2023 16:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E5=95=86?= =?UTF-8?q?=E6=88=B7=E5=85=A5=E9=A9=BB=E7=94=B3=E8=AF=B7=E6=97=B6=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=90=88=E5=90=8C=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/store/settled/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue index 1395d1c..a3b88d7 100644 --- a/pages/store/settled/index.vue +++ b/pages/store/settled/index.vue @@ -574,7 +574,6 @@ // 获取历史提交数据详情 getGoodsDetails(id) { getGoodsDetails(id).then(res => { - console.log(res); let arr = Object.keys(this.merchantData) let resData = res.data arr.map(item => { @@ -596,6 +595,11 @@ this.pics = resData.images this.mer_classification = this.getCategoryName(resData.merchant_category_id, this.array) this.mer_storeType = this.getStoreTypeName(resData.mer_type_id, this.storeTypeArr) + if(resData.mer_type_id!=12){ + this.shoplist('mer_services_agree') + }else{ + this.shoplist('mer_supply_agree') + } uni.hideLoading(); }) }, @@ -638,13 +642,11 @@ 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") // console.log(this.merchantData.mer_type) if(this.storeTypeArr[idx]['type_code']== 'TypeStore'&&this.merchantData.mer_type){ this.shoplist('mer_services_agree') }else{ this.shoplist('mer_supply_agree') - } this.validateBtn() },