From f4ce6726ced3ef468913d8c36e3febc660a64fd6 Mon Sep 17 00:00:00 2001
From: skyouc <958836976@qq.com>
Date: 星期六, 28 二月 2026 16:33:58 +0800
Subject: [PATCH] no message

---
 pages/AGV/CachePakin.vue |   22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/pages/AGV/CachePakin.vue b/pages/AGV/CachePakin.vue
index f1bb53d..f08d900 100644
--- a/pages/AGV/CachePakin.vue
+++ b/pages/AGV/CachePakin.vue
@@ -1,11 +1,11 @@
 <template>
 	<view>
 		<view class="code">
-			<view class="item">
+<!-- 			<view class="item" style="display: none;">
 				<view class="code-decs">璁㈠崟鍙�:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="orderNo" :focus="orderNoFocus"
 					@input="orderNoInput()">
-			</view>
+			</view> -->
 			<view class="item" style="display: none;">
 				<view class="code-decs">鎵樼洏鐮�:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus"
@@ -17,7 +17,7 @@
 					@input="boxType1Input()">
 			</view>
 			<view class="item">
-				<view class="code-decs">鐗╂枡鐮�:</view>
+				<view class="code-decs">BS Code:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="matnr" :focus="matFocus" @input="findMat()">
 				<view class="item-right">
 					<button></button>
@@ -249,7 +249,6 @@
 			},
 			// 鎼滅储鐗╂枡
 			findMat() {
-				
 				if (this.boxType1 == null || this.boxType1 == '') {
 					this.messageText = "鏍煎眰缂栫爜涓嶈兘涓虹┖锛侊紒"
 					this.messageToggle('error')
@@ -262,7 +261,7 @@
 					method: 'POST',
 					data: {
 						orderNo: that.orderNo,
-						matnr: that.matnr
+						threeCode: that.matnr
 					},
 					header: {
 						'token': uni.getStorageSync('token')
@@ -273,6 +272,7 @@
 							that.matData = result.data
 							that.matnr = ''
 							that.matData['suppCode'] = ''
+							that.orderNo = that.matData[0].orderNo
 							uni.navigateTo({
 								url: "../mat/matSelected",
 								// 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
@@ -294,7 +294,7 @@
 								title: result.msg,
 								icon: "none",
 								position: 'top'
-							})
+							})	
 							setTimeout(() => {
 								uni.reLaunch({
 									url: '../login/login'
@@ -330,7 +330,6 @@
 						// 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�  鍙﹀涓�涓〉闈紶杩囨潵鐨�
 						acceptDataFromOpenedPage: function(data) {
 							that.matnr = data.data
-
 							that.findMat(that.matnr)
 						},
 					},
@@ -339,8 +338,7 @@
 			},
 			checkMat(mat) {
 				var len = this.dataList.length
-				var add = true,
-					sameItem = false
+				var add = true, sameItem = false
 				for (var i = 0; i < len; i++) {
 					if (mat.matnr == this.dataList[i].matnr) {
 						for (var j = 0; j < len; j++) {
@@ -521,7 +519,7 @@
 	@import url('../../static/css/wms.css/wms.css');
 
 	.list:first-child {
-		margin-top: 460rpx;
+		margin-top: 320rpx;
 	}
 
 	.code {
@@ -551,7 +549,7 @@
 	}
 
 	.code-decs {
-		width: 20vw;
+		width: 28vw;
 		font-size: 18px;
 		color: #303133;
 	}
@@ -567,7 +565,7 @@
 		width: 100%;
 		background-color: white;
 		position: fixed;
-		margin-top: 300rpx;
+		margin-top: 200rpx;
 		z-index: 9;
 		/* border-top: 1px solid #DCDFE6; */
 		text-align: center;

--
Gitblit v1.9.1