From 39c8ffa96f2046168e71501c480b1e66114c0db8 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 03 九月 2024 08:06:58 +0800 Subject: [PATCH] # --- pages/phyz/orderOut/bcpOrderOutSelect.vue | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/pages/phyz/orderOut/bcpOrderOutSelect.vue b/pages/phyz/orderOut/bcpOrderOutSelect.vue index b8d107e..87b45bb 100644 --- a/pages/phyz/orderOut/bcpOrderOutSelect.vue +++ b/pages/phyz/orderOut/bcpOrderOutSelect.vue @@ -32,14 +32,6 @@ - 宸茬粡鍒板簳浜� - </view> - <!-- <view class="buttom"> - <view style="width: 150rpx;text-align: center;padding-left: 12rpx;"> - 鍚嶇О - </view> - <uni-search-bar v-model="searchValue2" style="width: 100%;" - maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear2" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�"> - </uni-search-bar> - </view> --> <!-- 绛涢�夊脊绐� --> <view> <uni-popup ref="filter" type="dialog"> @@ -197,12 +189,19 @@ },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 + }), + res.eventChannel.emit('type', { + type: "bcp" }) }, events: { -- Gitblit v1.9.1