From 40bab448d8ba5a29a80bd12f342d47e42e73483f Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 01 八月 2024 16:16:25 +0800 Subject: [PATCH] # --- pages/phyz/orderOut/orderOutSelect.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pages/phyz/orderOut/orderOutSelect.vue b/pages/phyz/orderOut/orderOutSelect.vue index afbe298..4178c2d 100644 --- a/pages/phyz/orderOut/orderOutSelect.vue +++ b/pages/phyz/orderOut/orderOutSelect.vue @@ -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