From f837b731f571bb53cee99f9bc22a6f74855f3e6c Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 12 八月 2024 02:43:20 +0800
Subject: [PATCH] add 商品结算测试

---
 pages/home/supplier-home.vue |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue
index cc67058..3faafc4 100644
--- a/pages/home/supplier-home.vue
+++ b/pages/home/supplier-home.vue
@@ -135,6 +135,14 @@
 					</view>
 					<view class="order-desc tg">订单管理</view>
 				</view>
+			<!-- 	<view class="nav row margin-tb" v-if="selftype==='supplier'"
+					@click="goto('/sub_pages/supplier/order-manage/order-manage',true)">
+					<view class="img-c">
+						<image class="icon margin-bottom order-icon ddgl"
+							src="/static/images/partner/user/user-icon-ddgl.png" mode="scaleToFill" />
+					</view>
+					<view class="order-desc tg">订单统计</view>
+				</view> -->
 
 				<view class="nav row margin-tb"
 					@click="goto('/sub_pages/supplier/order-settlement/order-settlement',true)">
@@ -241,7 +249,18 @@
 		},
 		created() {
 			//公告
-			this.$http.request('get', '/api/pub/announcement/list', {
+			var type = ''
+			// #ifdef PUB_CUSTOMER
+			type = 'customer'
+			// #endif
+			// #ifdef PUB_SUPPLIER
+			type = 'supplier'
+			// #endif
+			// #ifdef PUB_PARTNER
+			type = 'partner'
+			// #endif
+			
+			this.$http.request('get', '/api/pub/announcement/list/'+type, {
 				params: {
 					size: 5,
 					status: 'A'

--
Gitblit v1.9.3