From 24f8c69039edd1e07b8b0a5b5c2cb8d5c3c00e3d Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期六, 24 五月 2025 22:16:35 +0800
Subject: [PATCH] 888

---
 pages/pakin/pakin.vue |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue
index fce68bf..418a445 100644
--- a/pages/pakin/pakin.vue
+++ b/pages/pakin/pakin.vue
@@ -5,6 +5,11 @@
 				<view class="code-decs">鍗曟嵁缂栧彿:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="orderNo" 
 					@input="barcodeInput()">
+					<view class="item-right">
+						<button></button>
+						<text style="text-align: right;color: #409EFF;" @click="selectOrder()">鎻愬彇+</text>
+						<uni-icons type="right" color="#c1c1c1"></uni-icons>
+					</view>
 			</view>
 			<view class="item">
 				<view class="code-decs">鎵樼洏鐮�:</view>
@@ -16,8 +21,8 @@
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="matnr" :focus="matFocus" @input="findMat()">
 				<view class="item-right">
 					<button></button>
-					<text style="text-align: right;color: #409EFF;" @click="selectMat()">鎻愬彇+</text>
-					<uni-icons type="right" color="#c1c1c1"></uni-icons>
+					<!-- <text style="text-align: right;color: #409EFF;" @click="selectMat()">鎻愬彇+</text> -->
+					<!-- <uni-icons type="right" color="#c1c1c1"></uni-icons> -->
 				</view>
 			</view>
 			<!-- <view class="item">
@@ -164,6 +169,8 @@
 				dataList: [],
 				count: 0,
 				rowNum: '',
+				orderNo: '',
+				matnr: '',
 				matnr: '',
 				batch: '',
 				weight: '',
@@ -320,6 +327,28 @@
 				});
 				that.matnr = ''
 			},
+			selectOrder() {
+				let that = this
+				uni.navigateTo({
+					url: "../order/orderList",
+					success: function(res) {
+						// 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�   鍚戝彟澶栦竴涓〉闈紶閫掑�肩殑
+						res.eventChannel.emit('commonUrl', {
+							commonUrl: ''
+						})
+					},
+					events: {
+						// 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�  鍙﹀涓�涓〉闈紶杩囨潵鐨�
+						acceptDataFromOpenedPage: function(data) {
+							that.orderNo = data.data
+							//that.findMat(that.matnr)
+						},
+					},
+			
+			
+				});
+				that.orderNo = ''
+			},
 			checkMat(mat) {
 				var len = this.dataList.length
 				var add = true ,sameItem = false

--
Gitblit v1.9.1