From cf7a549ed26664375cbf48bb311a7e06a54fcd50 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 12 十月 2022 08:32:44 +0800
Subject: [PATCH] #

---
 pages/basics/checkout.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/pages/basics/checkout.vue b/pages/basics/checkout.vue
index c2a8ef5..d349407 100644
--- a/pages/basics/checkout.vue
+++ b/pages/basics/checkout.vue
@@ -253,6 +253,10 @@
 					}, 100);
 					return;
 				}
+				if (that.matCount == that.matList.length) {
+					uni.showToast({title: '璇风‘璁ゅ嚭搴撴暟閲忥紒', icon: "none",position: 'top'})
+					return;
+				}
 				uni.request({
 				    url: that.commonUrl + '/mobile/pakout/confirm/pick/auth',
 				    data: {
@@ -270,7 +274,6 @@
 								console.log(that.matnr);
 								for(let i = 0;i < that.matList.length; i++) {
 									var matnr = that.matList[i].matnr + '-' +  that.matList[i].batch
-									console.log(matnr);
 									if (matnr === that.matnr) {
 										that.messageToggle('warn');
 										that.messageText = '璇ュ晢鍝佸凡娣诲姞';

--
Gitblit v1.9.1