From c058bcb643058243801e669a89baa51e1a2db5d4 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 27 四月 2023 16:57:13 +0800
Subject: [PATCH] #

---
 pages/order/orderPakin.vue |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/pages/order/orderPakin.vue b/pages/order/orderPakin.vue
index 1232e83..640858f 100644
--- a/pages/order/orderPakin.vue
+++ b/pages/order/orderPakin.vue
@@ -4,7 +4,7 @@
 			<view class="item">
 				<view class="code-decs">璁㈠崟鍙�:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="order" :focus="orderFocus"
-					@input="orderInput()">
+					@input="orderInput()" disabled>
 			</view>
 			<view class="item">
 				<view class="code-decs">鎵樼洏鐮�:</view>
@@ -221,6 +221,7 @@
 							that.matData = result.data
 							that.matnr = ''
 							that.matData['batch'] = ''
+							result.data.batch = matnr[2]
 							uni.navigateTo({
 								url: "../mat/matSelected",
 								// 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
@@ -347,6 +348,24 @@
 					}
 				});
 			},
+			reset(type) {
+				this.msgType = type
+				this.title = '璀﹀憡'
+				this.content = '鏄惁閲嶇疆!'
+				this.$refs.resetConfirm.open()
+			},
+			// 纭閲嶇疆
+			resetConfirm() {
+				this.dataList = []
+				this.order = ''
+				this.barcode = ''
+				this.messageText = "閲嶇疆瀹屾垚"
+				this.messageToggle('success')
+			},
+			// 鍙栨秷閲嶇疆
+			resetClose() {
+			
+			},
 		}
 	}
 </script>

--
Gitblit v1.9.1