From fc549ce40b7c58c32daf5238e5e274a15455f651 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期五, 07 三月 2025 16:30:32 +0800
Subject: [PATCH] 1

---
 pages/phyz/orderOut/orderOutSelectV2.vue |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/pages/phyz/orderOut/orderOutSelectV2.vue b/pages/phyz/orderOut/orderOutSelectV2.vue
index 0a35525..8ac2721 100644
--- a/pages/phyz/orderOut/orderOutSelectV2.vue
+++ b/pages/phyz/orderOut/orderOutSelectV2.vue
@@ -21,6 +21,7 @@
 				<view>璁㈠崟鏁伴噺锛歿{orderDetl.anfme}}</view>
 				<view>搴撳瓨鏁伴噺锛歿{orderDetl.stock}}</view>
 				<view>宸插嚭鏁伴噺锛歿{orderDetl.qty}}</view>
+				<view v-if="orderDetl.workNum">姝e湪浣滀笟鏁伴噺锛歿{orderDetl.workNum}}</view>
 			</view>
 			<view class="list-right" @click="goToLocDetl(orderDetl)">
 				<uni-icons type="right" size="25"  color="#fff"></uni-icons>
@@ -121,13 +122,24 @@
 			let _this = this
 			const eventChannel = this.getOpenerEventChannel();
 			eventChannel.on('param', function(data) {
-				_this.data.orderType = data.param.orderType
+				var orderType = data.param.orderType
+				if (orderType != [] || orderType != null) {
+					uni.setStorageSync('dataOrderTypeOut', orderType);
+					_this.data.orderType = orderType
+				} else {
+					orderType = uni.getStorageSync('dataOrderTypeOut');
+					if (orderType != [] || orderType != null) {
+						_this.data.orderType = orderType
+					} else {
+						_this.data.orderType = []
+					}
+				}
+				_this.baseUrl = uni.getStorageSync('baseUrl');
+				_this.token = uni.getStorageSync('token');
+				_this.searchValue = uni.getStorageSync('threeCode');
+				_this.getOrderDetlList(_this.searchValue,10)
+				console.log("onLoad");
 			})
-			this.baseUrl = uni.getStorageSync('baseUrl');
-			this.token = uni.getStorageSync('token');
-			this.searchValue1 = uni.getStorageSync('threeCodeOut193');
-			this.searchValue2 = uni.getStorageSync('threeCodeOut2');
-			this.getOrderDetlList(this.searchValue1,10)
 		},
 		methods: {
 			getOrderDetlList(threeCode,limit) {

--
Gitblit v1.9.1