From 35a6571ff25e5da94784d228d6bb73df768013d7 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期四, 11 四月 2024 19:51:31 +0800
Subject: [PATCH] #

---
 pages/phyz/orderOut/orderOutSelect.vue |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/pages/phyz/orderOut/orderOutSelect.vue b/pages/phyz/orderOut/orderOutSelect.vue
index 557a56d..124e94a 100644
--- a/pages/phyz/orderOut/orderOutSelect.vue
+++ b/pages/phyz/orderOut/orderOutSelect.vue
@@ -20,7 +20,7 @@
 				<view>璁㈠崟鏁伴噺锛歿{orderDetl.anfme}}</view>
 				<view>宸插嚭鏁伴噺锛歿{orderDetl.qty}}</view>
 			</view>
-			<view class="list-right" @click="addItem(index)">
+			<view class="list-right" @click="goToLocDetl(orderDetl)">
 				<uni-icons type="right" size="25"  color="#fff"></uni-icons>
 			</view>
 		</view>
@@ -35,7 +35,7 @@
 				涓诲崟鍙�
 			</view>
 			<uni-search-bar v-model="searchValue2" style="width: 100%;"
-				maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�">
+				maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear2" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�">
 			</uni-search-bar>
 		</view>
 	</view>
@@ -77,7 +77,7 @@
 				
 				_this.data.limit = limit
 				uni.request({
-					url: `${_this.baseUrl}/orderDetl/pakout/list/authV2`,
+					url: `${_this.baseUrl}/orderDetl/pakout/list/authV3`,
 					header: {'token': uni.getStorageSync('token')},
 					data: _this.data,
 					method: 'GET',
@@ -125,6 +125,26 @@
 				}
 				
 			},
+			clear2() {
+				this.searchValue2 = ''
+				this.getOrderDetlList(this.searchValue1,'',999999)
+			},
+			goToLocDetl(item) {
+				let _this = this
+				uni.navigateTo({
+					url: './orderList',
+					success(res) {
+						res.eventChannel.emit('item', {
+							item: item
+						})
+					},
+					events: {
+						acceptDataFromOpenedPage: function(data) {
+							console.log(data);
+						}
+					}
+				})
+			}
 			
 		}
 	}

--
Gitblit v1.9.1