From 7415eb9f602c0cd3f13c91dee8364e99a5bde1f5 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 14 Dec 2023 12:03:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/public.js | 8 ++++++ pages/index/index.vue | 14 +++++----- pages/moreProject/moreProject.vue | 8 +++--- pages/users/supply_procurement/index.vue | 33 ++++++++++++++++++++---- 4 files changed, 47 insertions(+), 16 deletions(-) diff --git a/api/public.js b/api/public.js index 723b7d3..6c4ba5b 100644 --- a/api/public.js +++ b/api/public.js @@ -141,4 +141,12 @@ export function getNavigation(data) { return request.get("navigation", data, { noAuth: true }); +} + +/** + * 获取供货采购分类 + * @param data string 获取供货采购分类 + */ +export function systemGroupValue(data) { + return request.get("system_group_value", data); } \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 499e13d..cee121a 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -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({ diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue index 8137710..91019a1 100644 --- a/pages/moreProject/moreProject.vue +++ b/pages/moreProject/moreProject.vue @@ -135,22 +135,22 @@ 交易申请状态:待审核 - + - 供货采购 - + --> 进货管理 diff --git a/pages/users/supply_procurement/index.vue b/pages/users/supply_procurement/index.vue index 0f57c57..faffca9 100644 --- a/pages/users/supply_procurement/index.vue +++ b/pages/users/supply_procurement/index.vue @@ -1,6 +1,6 @@