This commit is contained in:
parent
4a3f59d2a8
commit
7415eb9f60
|
@ -142,3 +142,11 @@ export function getNavigation(data) {
|
|||
noAuth: true
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取供货采购分类
|
||||
* @param data string 获取供货采购分类
|
||||
*/
|
||||
export function systemGroupValue(data) {
|
||||
return request.get("system_group_value", data);
|
||||
}
|
|
@ -1083,16 +1083,16 @@ import { Toast } from '../../libs/uniApi';
|
|||
})
|
||||
break;
|
||||
case 3:
|
||||
// uni.navigateTo({
|
||||
// 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/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/cloud_entrepot/indexb?type_id=12`
|
||||
})
|
||||
// uni.navigateTo({
|
||||
// url:`/pages/nongKe/cloud_entrepot/indexb?type_id=12`
|
||||
// })
|
||||
break;
|
||||
case 4:
|
||||
uni.navigateTo({
|
||||
|
|
|
@ -135,22 +135,22 @@
|
|||
<view class="special_work-titleb" v-if='codenote[0].status==0'>交易申请状态:待审核</view>
|
||||
</view>
|
||||
<view class="content ">
|
||||
<!-- <view class="examine"
|
||||
<view class="examine"
|
||||
@click="navigator(`/pages/users/supply_procurement/index?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>
|
||||
<!-- <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"
|
||||
<!-- <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> -->
|
||||
<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>
|
||||
<text class="text">进货管理</text>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="conent">
|
||||
<view class="con_kuo"
|
||||
<!-- <view class="con_kuo"
|
||||
@click="navigator(`/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${id}`)">
|
||||
<image class="con_img" src="@/static/images/bg1.png" mode=""></image>
|
||||
<image class="con_ico" src="@/static/images/bgic1.png" mode=""></image>
|
||||
|
@ -17,22 +17,44 @@
|
|||
<h3>先货后款</h3>
|
||||
<span>先发货后付款</span>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="con_kuo"
|
||||
v-for="(item, index) in list"
|
||||
:key="item.value"
|
||||
@click="navigator(`/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${id}`)">
|
||||
<image class="con_img" src="@/static/images/bg1.png" mode=""></image>
|
||||
<image class="con_ico" src="@/static/images/bgic1.png" mode=""></image>
|
||||
<view class="con_text">
|
||||
<h3>{{item.name}}</h3>
|
||||
<span>先付款后发货</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { systemGroupValue } from "@/api/public.js"
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
id: ''
|
||||
id: '',
|
||||
list: []
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
|
||||
this.id = option.cate_id
|
||||
this.id = option.cate_id;
|
||||
this.initList();
|
||||
},
|
||||
methods: {
|
||||
initList(){
|
||||
systemGroupValue({
|
||||
name: 'purchasing_navigation'
|
||||
}).then(res=>{
|
||||
console.log(res);
|
||||
this.list = res.data;
|
||||
console.log(this.list);
|
||||
})
|
||||
},
|
||||
navigator(url, t) {
|
||||
uni.navigateTo({
|
||||
url: url
|
||||
|
@ -52,6 +74,7 @@
|
|||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 20px;
|
||||
|
||||
.con_kuo {
|
||||
|
|
Loading…
Reference in New Issue