From a587937ce53f79b4680e930b5d5f7fee33de5311 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 14 八月 2024 14:50:40 +0800
Subject: [PATCH] 标签

---
 sub_pages/customer/trade/trade.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sub_pages/customer/trade/trade.vue b/sub_pages/customer/trade/trade.vue
index ff15aae..e99cd81 100644
--- a/sub_pages/customer/trade/trade.vue
+++ b/sub_pages/customer/trade/trade.vue
@@ -9,7 +9,8 @@
 
 			</view>
 			<view class="flex1 input">
-				<u-input :placeholder="type==='category'?'请输入分类名称':'请输入店铺名称'" v-model="query.name" clearable @confirm="buttonSearchFlow" @clear="()=>{
+				<u-input :placeholder="type==='category'?'请输入分类名称':'请输入店铺名称'" v-model="query.name" clearable
+					@confirm="buttonSearchFlow" @clear="()=>{
 					$nextTick(()=>{buttonSearchFlow()})
 				}">
 					<template slot="suffix">
@@ -106,6 +107,7 @@
 		props: {
 			hidefooter: false,
 			catgoryTree: [],
+			supplierId: '',
 		},
 		data() {
 			return {
@@ -288,9 +290,10 @@
 				}
 			},
 			toDetailList(item) {
-				//去商品列表页面
+				//去商品列表页面
+				console.log('toDetailList',this.supplierId)
 				uni.navigateTo({
-					url: `/sub_pages/customer/trade/list?categoryId=${item.id}`
+					url: `/sub_pages/customer/trade/list?categoryId=${item.id}&supplierId=${this.supplierId||''}`
 				})
 			},
 			changeType(item) {

--
Gitblit v1.9.3