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() },