From c2d0b458af0174d84b03d574d8326d67d5ffeee7 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 09 四月 2025 13:36:08 +0800
Subject: [PATCH] #

---
 pages/order/orderPakin2.vue |   27 +++++++++------------------
 1 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/pages/order/orderPakin2.vue b/pages/order/orderPakin2.vue
index 1849506..252f9b4 100644
--- a/pages/order/orderPakin2.vue
+++ b/pages/order/orderPakin2.vue
@@ -13,7 +13,7 @@
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus"
 					@input="barcodeInput()">
 			</view>
-			<view class="item">
+			<!-- <view class="item">
 				<view class="code-decs">鐗╂枡鐮�:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="matnr" :focus="matFocus" @input="findMat()">
 				<!-- <view class="item-right">
@@ -21,7 +21,7 @@
 					<text style="text-align: right;color: #409EFF;" @click="selectMat()">鎻愬彇+</text>
 					<uni-icons type="right" color="#c1c1c1"></uni-icons>
 				</view> -->
-			</view>
+			<!-- </view> --> -->
 		</view>
 		<view class="mat-list-title">
 			鍟嗗搧鍒楄〃
@@ -104,7 +104,7 @@
 					<view class="popup-item">
 						<view class="popup-item-left">鏁伴噺:</view>
 						<view class="popup-item-right" style="border: none;justify-content: center;">
-							<uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" />
+							<uni-number-box :value="count" :step='0.001' :max="9999999" color="#747474" @change="changeValue" />
 						</view>
 					</view>
 					<view class="btn">
@@ -210,16 +210,7 @@
 			barcodeInput() {
 				// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
 				setTimeout(() => {
-					var len = this.barcode.length
-					if (len >= 9 && len <=8) {
-						uni.showToast({
-							title: '鎵樼洏鐮佹湁璇閲嶈瘯',
-							icon: "none",
-							position: 'top'
-						});
-						this.barcodeFocuss()
-						return;
-					}
+					var len = this.barcode.length					
 					this.focuss()
 				}, 200)
 			},
@@ -435,11 +426,11 @@
 					return;
 				}
 				for (var i = 0; i < that.dataList.length; i++) {
-					if (that.dataList[i].review !== "宸插鏍�" ) {
-						this.messageText = that.dataList[i].matnr + '鏈鏍�'
-						this.messageToggle('error')
-						return;
-					}
+					// if (that.dataList[i].review !== "宸插鏍�" ) {
+					// 	this.messageText = that.dataList[i].matnr + '鏈鏍�'
+					// 	this.messageToggle('error')
+					// 	return;
+					// }
 					if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') {
 						this.messageText = that.dataList[i].matnr + '缁勬墭鏁伴噺涓嶈兘涓�0'
 						this.messageToggle('error')

--
Gitblit v1.9.1