From 6be8b9f43be3670473ddfaebafe18a1be644ca1d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 05 五月 2025 16:06:14 +0800
Subject: [PATCH] 组托问题修复

---
 pages/rece/standard.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/pages/rece/standard.vue b/pages/rece/standard.vue
index e8beae2..3d6731d 100644
--- a/pages/rece/standard.vue
+++ b/pages/rece/standard.vue
@@ -80,7 +80,7 @@
 					<view class="content" v-if="!isconfirm">
 						<view class="cu-form-group padding-lr-0">
 							<view class="title text-blue">鏀惰揣鏁伴噺:</view>
-							<uni-number-box style="width: 70%;" v-model="item.receiptQty" :step='1'></uni-number-box>
+							<uni-number-box style="width: 70%;" :max="max" v-model="item.receiptQty" :step='1'></uni-number-box>
 						</view>
 					</view>
 					<view class="content" v-else>
@@ -156,7 +156,7 @@
 
 		<view class="cu-bar btn-group foot" v-show="isconfirm">
 			<button class="cu-btn text-blue line-blue shadow" @click="prev">涓婁竴姝�</button>
-			<button class="cu-btn bg-blue shadow-blur" @click="confirm">鎻愪氦鏀惰揣</button>
+			<button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm">鎻愪氦鏀惰揣</button>
 		</view>
 
 	</view>
@@ -179,7 +179,9 @@
 				whAreaId: '',
 				list: [],
 				range: [],
-				isconfirm: false
+				isconfirm: false,
+				repeatClick: false,
+				max: 99999999
 			}
 		},
 		computed: {
@@ -264,6 +266,7 @@
 						title: '璇烽�夋嫨鏀惰揣鍖�'
 					})
 				} else {
+					this.repeatClick = true
 					const {
 						code,
 						data,
@@ -286,7 +289,7 @@
 							position: 'top'
 						})
 					}
-
+					this.repeatClick = false
 				}
 			},
 			async getRece() {

--
Gitblit v1.9.1