From e7508ca6436d1707d115e931fd96cab20fdf5d7b Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 02 七月 2024 09:42:32 +0800
Subject: [PATCH] #
---
pages/phyz/orderOut/orderCheck.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/pages/phyz/orderOut/orderCheck.vue b/pages/phyz/orderOut/orderCheck.vue
index bec3242..3052f9e 100644
--- a/pages/phyz/orderOut/orderCheck.vue
+++ b/pages/phyz/orderOut/orderCheck.vue
@@ -56,7 +56,7 @@
<!-- 搴曢儴鎿嶄綔鎸夐挳 -->
<view class="buttom">
<button size="mini" @click="reset('warn')">绋嶅悗澶勭悊</button>
- <button size="mini" type="primary" @click="combConfirm('warn')">绔嬪嵆鍑哄簱</button>
+ <button size="mini" type="primary" @click="combConfirm('warn')" :disabled="combDis">绔嬪嵆鍑哄簱</button>
</view>
</view>
</template>
@@ -69,7 +69,8 @@
token: '',
data: {},
option: '',
- count: 0
+ count: 0,
+ combDis: false
}
},
onShow() {
@@ -139,6 +140,7 @@
},
combConfirm() {
let _this = this
+ _this.combDis = true
if (_this.data.anfme == 0) {
uni.showToast({ title: '鍑哄簱鏁伴噺涓嶈兘涓�0锛�', icon: "error", position: 'top'})
return
@@ -152,6 +154,7 @@
data: combList,
method: 'POST',
success(res) {
+ _this.combDis = true
res = res.data
if (res.code === 200) {
uni.hideLoading({})
@@ -167,6 +170,9 @@
} else {
uni.showToast({ title: res.msg, icon: "error", position: 'top' })
}
+ },
+ fail(res) {
+ _this.combDis = false
}
})
}
--
Gitblit v1.9.1