diff --git a/pages/index/index.vue b/pages/index/index.vue index feac8dc..499e13d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1087,8 +1087,11 @@ import { Toast } from '../../libs/uniApi'; // url: '/pages/users/supply_procurement/index?type_id=12&isDetail=1&product_type=98&cate_id=' + // this.userInfoData.mer_info.category_id // }) + // uni.navigateTo({ + // url: `/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${this.userInfoData.mer_info.category_id}` + // }) uni.navigateTo({ - url: `/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${this.userInfoData.mer_info.category_id}` + url:`/pages/nongKe/cloud_entrepot/indexb?type_id=12` }) break; case 4: diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue index dcfe937..8137710 100644 --- a/pages/moreProject/moreProject.vue +++ b/pages/moreProject/moreProject.vue @@ -141,10 +141,15 @@ 供货采购 --> - 供货采购 + --> + + + 供货采购 diff --git a/pages/nongKe/cloud_entrepot/indexb.vue b/pages/nongKe/cloud_entrepot/indexb.vue index 3a6a4d2..8f8ec53 100644 --- a/pages/nongKe/cloud_entrepot/indexb.vue +++ b/pages/nongKe/cloud_entrepot/indexb.vue @@ -10,15 +10,15 @@ height="50.82rpx" @click='backjJump'> --> + + 供货采购商品 + 供货采购市场 - - 供货采购商品 - @@ -709,13 +709,16 @@ this.goodsList = []; } // console.log({...this.userInfoData}); - getProductslist({ + let query = { product_type: this.product_type, - cate_id: this.storeParam.category_id, + cate_pid: this.storeParam.category_id, page: this.storeParam.page, order: this.storeParam.order, keyword: this.storeParam.keyword - }).then((res)=>{ + }; + if(!this.merchantTow.pid) query.cate_pid = this.storeParam.category_id; // 全部是查询一级分类pid + else query.cate_id = this.storeParam.category_id; // 否则查询二级分类 + getProductslist(query).then((res)=>{ // console.log(res); this.goodsList = [...this.goodsList, ...res.data.list] this.goodsList.forEach(item => { diff --git a/pages/nongKe/supply_chain/supplierA.vue b/pages/nongKe/supply_chain/supplierA.vue index b892d57..020f9f9 100644 --- a/pages/nongKe/supply_chain/supplierA.vue +++ b/pages/nongKe/supply_chain/supplierA.vue @@ -23,14 +23,14 @@ - 供货采购市场 - - 供货采购商品 + + 供货采购市场 +