From fa51fb36a3f1d4ac28a618537cc52ded511f288f Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 04 九月 2024 15:17:14 +0800
Subject: [PATCH] #

---
 pages/phyz/orderOut/orderOutSelect.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/pages/phyz/orderOut/orderOutSelect.vue b/pages/phyz/orderOut/orderOutSelect.vue
index afbe298..1cb85b4 100644
--- a/pages/phyz/orderOut/orderOutSelect.vue
+++ b/pages/phyz/orderOut/orderOutSelect.vue
@@ -119,7 +119,7 @@
 		onShow() {
 			this.baseUrl = uni.getStorageSync('baseUrl');
 			this.token = uni.getStorageSync('token');
-			this.searchValue1 = uni.getStorageSync('threeCodeOut1');
+			this.searchValue1 = uni.getStorageSync('threeCodeOut193');
 			this.searchValue2 = uni.getStorageSync('threeCodeOut2');
 			this.getOrderDetlList(this.searchValue1,10)
 		},
@@ -131,7 +131,7 @@
 				_this.data.three_code = threeCode
 				_this.data.limit = limit
 				uni.request({
-					url: `${_this.baseUrl}/orderDetl/pakout/list/authV3`,
+					url: `${_this.baseUrl}/orderDetl/pakout/list/authV193`,
 					header: {'token': uni.getStorageSync('token')},
 					data: _this.data,
 					method: 'GET',
@@ -165,7 +165,7 @@
 			searchValueInput1() {
 				this.dataList = []
 				this.data.curr = 1
-				uni.setStorageSync('threeCodeOut1', this.searchValue1);
+				uni.setStorageSync('threeCodeOut193', this.searchValue1);
 				uni.setStorageSync('threeCodeOut2', this.searchValue2);
 				if (this.searchValue1.length == 0) {
 					this.getOrderDetlList(this.searchValue1,10)
@@ -175,7 +175,7 @@
 				
 			},
 			searchValueInput2() {
-				uni.setStorageSync('threeCodeOut1', this.searchValue1);
+				uni.setStorageSync('threeCodeOut193', this.searchValue1);
 				uni.setStorageSync('threeCodeOut2', this.searchValue2);
 				if (this.searchValue1.length == 0) {
 					this.getOrderDetlList(this.searchValue1,10)
@@ -197,9 +197,13 @@
 				},300)
 			},
 			goToLocDetl(item) {
+				if (item.qty >= item.anfme) {
+					uni.showToast({ title: '宸插畬鎴愯鍗曚綔涓氭暟閲�', icon: "error", position: 'top' })
+					return
+				}
 				let _this = this
 				uni.navigateTo({
-					url: './orderList',
+					url: './orderCheck',
 					success(res) {
 						res.eventChannel.emit('item', {
 							item: item

--
Gitblit v1.9.1