From fe8fb74ce94e7bee23ed47b7175236248ac93b98 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 19 十一月 2024 16:24:04 +0800
Subject: [PATCH] Merge branch 'nbncPda' of http://47.97.1.152:5880/r/wms_app into nbncPda

---
 pages/order/orderDetlList.vue |   25 +++++++++++--------------
 1 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/pages/order/orderDetlList.vue b/pages/order/orderDetlList.vue
index 591c514..bc17371 100644
--- a/pages/order/orderDetlList.vue
+++ b/pages/order/orderDetlList.vue
@@ -20,31 +20,28 @@
 			}
 		},
 		onLoad() {
+			
+		},
+		onShow() {
 			let that = this
-			// const eventChannel = this.$scope.eventChannel; // 鍏煎APP-NVUE
-			const eventChannel = this.getOpenerEventChannel();
+			that.baseUrl = uni.getStorageSync('baseUrl');
+			that.token = uni.getStorageSync('token');			
+			
+			const eventChannel = that.getOpenerEventChannel();
 			eventChannel.on('order', function(data) {
 				// console.log(data.item);
 				that.orderNo = data.orderNo
-				
+				that.getOrderNoList(that.orderNo)
 			})
-		},
-		onShow() {
-			this.baseUrl = uni.getStorageSync('baseUrl');
-			this.token = uni.getStorageSync('token');
-			this.getOrderNoList(this.orderNo)
+			
 		},
 		methods: {
 			getOrderNoList(orderNo) {
 				let that = this
 				uni.request({
 					url: this.baseUrl + '/orderDetl/forOrderNo/auth',
-					data: {
-						orderNo: that.orderNo
-					},
-					header: {
-						'token': uni.getStorageSync('token')
-					},					
+					data: { orderNo: that.orderNo },
+					header: { 'token': uni.getStorageSync('token') },					
 					success(res) {
 						res = res.data
 						that.menuList = res.data

--
Gitblit v1.9.1