From c48093016b1511ce8b33ffb49062a3bf7a1aed16 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 06 六月 2024 08:24:10 +0800
Subject: [PATCH] Merge branch 'phyzasrs' of http://47.97.1.152:5880/r/wms_app into phyzasrs

---
 pages/phyz/bcp/bcpDbList.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/pages/phyz/bcp/bcpDbList.vue b/pages/phyz/bcp/bcpDbList.vue
index b0eebbb..7aef247 100644
--- a/pages/phyz/bcp/bcpDbList.vue
+++ b/pages/phyz/bcp/bcpDbList.vue
@@ -61,7 +61,7 @@
 						</view>
 					</view>
 					<view class="btn filter-btn">
-						<view class="btn-right" @click="filterConfirm()">寮�濮嬭皟鎷�</view>
+						<button class="btn-right" @click="filterConfirm()" :disabled="isAutoDis">寮�濮嬭皟鎷�</button>
 					</view>
 				</view>
 			</uni-popup>
@@ -69,7 +69,7 @@
 		<!-- 搴曢儴鎿嶄綔鎸夐挳 -->
 		<view class="buttom">
 			<button size="mini" @click="isAuto('unAuto')">鎵嬪姩</button>
-			<button size="mini" type="primary" @click="isAuto('auto')">鑷姩</button>
+			<button size="mini" type="primary" @click="isAuto('auto')" >鑷姩</button>
 		</view>
 	</view>
 </template>
@@ -93,7 +93,8 @@
 				allCheckBtnTitle: '鍏ㄩ��',
 				floorList: ['2妤�','3妤�'],
 				floor: '',
-				moveType: ''
+				moveType: '',
+				isAutoDis: false
 			}
 		},
 		onShow() {
@@ -276,6 +277,7 @@
 			},
 			filterConfirm() {
 				console.log(this.dbList);
+				this.isAutoDis = true
 				if (this.floor == '') {
 					uni.showToast({ title: '璇烽�夋嫨璋冩嫧妤煎眰', icon: "error", position: 'top' })
 					return
@@ -288,6 +290,7 @@
 					data: param,
 					method: 'POST',
 					success(res) {
+						_this.isAutoDis = false
 						console.log(res);
 						res = res.data
 						if (res.code === 200) {
@@ -300,6 +303,9 @@
 						} else {
 							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
 						} 
+					},
+					fail(res) {
+						_this.isAutoDis = false
 					}
 				})
 				this.$refs.filter.close('bottom')

--
Gitblit v1.9.1