更新供货采购
This commit is contained in:
parent
e6bc9233f4
commit
bc8b182f89
|
@ -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:
|
||||
|
|
|
@ -141,10 +141,15 @@
|
|||
<image class="icon_img" src="@/static/images/index4.png" mode="aspectFit"></image>
|
||||
<text class="text">供货采购</text>
|
||||
</view> -->
|
||||
<view class="examine"
|
||||
<!-- <view class="examine"
|
||||
@click="navigator(`/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${userInfoData.mer_info.category_id}`)">
|
||||
<image class="icon_img" src="@/static/images/index4.png" mode="aspectFit"></image>
|
||||
<text class="text">供货采购</text>
|
||||
</view> -->
|
||||
<view class="examine"
|
||||
@click="navigator(`/pages/nongKe/cloud_entrepot/indexb?type_id=12`)">
|
||||
<image class="icon_img" src="@/static/images/index4.png" mode="aspectFit"></image>
|
||||
<text class="text">供货采购</text>
|
||||
</view>
|
||||
<view class="examine" @click="navigator('/pages/users/order_list/indexCopy?status=-1&product_type=98')">
|
||||
<image class="icon_img" src="@/static/images/index5.png" mode="aspectFit"></image>
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
height="50.82rpx" @click='backjJump'></u--image> -->
|
||||
<view style="display: flex;align-items: center;">
|
||||
<i class="iconfont icon-xiangzuo" style="font-size: 31.54rpx;text-align: left;" @click='backjJump'></i>
|
||||
<view class=""
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 20rpx;color: #F84221;">
|
||||
供货采购商品
|
||||
</view>
|
||||
<view class=""
|
||||
@click="navGoto(`/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${userInfoData.mer_info.category_id}`)"
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 10rpx;">
|
||||
供货采购市场
|
||||
</view>
|
||||
<view class=""
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 20rpx;color: #F84221;">
|
||||
供货采购商品
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -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 => {
|
||||
|
|
|
@ -23,14 +23,14 @@
|
|||
<view style="display: flex;align-items: center;">
|
||||
<i class="iconfont icon-xiangzuo" style="font-size: 31.54rpx;text-align: left;" @click='backjJump'></i>
|
||||
<view class=""
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 10rpx;color: #F84221;">
|
||||
供货采购市场
|
||||
</view>
|
||||
<view class=""
|
||||
@click="navGoto(`/pages/nongKe/cloud_entrepot/indexb?type_id=12`)"
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 20rpx;">
|
||||
供货采购商品
|
||||
</view>
|
||||
<view class=""
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 10rpx;color: #F84221;">
|
||||
供货采购市场
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
Loading…
Reference in New Issue