From c75288aeffc0ed1e7b8431d3f4351ed52bd9105a Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 02 七月 2024 08:29:21 +0800
Subject: [PATCH] #

---
 pages/out/checkOut.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pages/out/checkOut.vue b/pages/out/checkOut.vue
index 2685cd6..974e0ac 100644
--- a/pages/out/checkOut.vue
+++ b/pages/out/checkOut.vue
@@ -152,8 +152,8 @@
 			// barcode input 浜嬩欢
 			barcodeInput() {
 				let _this = this
-				let barcode =  this.barcode.split(",")
-				_this.barcode = barcode[0]
+				// let barcode =  this.barcode.split(",")
+				// _this.barcode = barcode[0]
 				// let batch = barcode[0]
 				uni.request({
 					url: _this.baseUrl + '/mobile/wrkDetl/search/batch/auth',
@@ -354,7 +354,7 @@
 			comb() {
 				let that = this;
 				uni.request({
-					url: that.baseUrl + '/mobile/order/search/orderNo/auth',
+					url: that.baseUrl + '/mobile/order/search/batch/auth',
 					data: that.barcode,
 					method: 'POST',
 					header: {'token': uni.getStorageSync('token')},
@@ -363,7 +363,7 @@
 						let res = result.data
 						if (res.code === 200) {
 							that.dataList = []
-							this.barcode = ''
+							that.barcode = ''
 							that.messageText = "纭鎴愬姛"
 							that.messageToggle('success')
 						} else if (res.code == 403) {

--
Gitblit v1.9.1