From 7e375c39a62b464a07511d011b9c5c245de5f5f4 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期一, 08 十二月 2025 15:58:02 +0800
Subject: [PATCH] 缓存入库逆向功能优化 组托功能优化

---
 pages/pakin/PakinBind.vue |   20 ++++++++++----------
 pages/mat/matSelected.vue |    7 +++----
 pages.json                |    4 ++--
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/pages.json b/pages.json
index 157f0ea..0033ea3 100644
--- a/pages.json
+++ b/pages.json
@@ -85,9 +85,9 @@
 			}
 		},
 		{
-			"path": "pages/pakin/PakinBind",	
+			"path": "pages/pakin/PakinBind",
 			"style": {
-				"navigationBarTitleText": "鍏ュ簱缁勬墭"
+				"navigationBarTitleText": "缁勬墭涓婃灦"
 			}
 		},
 		{
diff --git a/pages/mat/matSelected.vue b/pages/mat/matSelected.vue
index 823e43d..8ce78fd 100644
--- a/pages/mat/matSelected.vue
+++ b/pages/mat/matSelected.vue
@@ -53,7 +53,7 @@
 					anfme: 0,
 				},
 				selectNum: null,
-				mats: null,
+				mats: [],
 				baseIP: '',
 				basePORT: '',
 			}
@@ -72,7 +72,7 @@
 				that.mats = data.data
 			})
 
-
+			console.log(that.mats);
 		},
 		methods: {
 			blur() {
@@ -94,8 +94,7 @@
 					});
 					return;
 				}
-				console.log("=======>");
-				console.log(this.mats[0]);
+
 				if (this.selectNum != null) {
 					this.mats[0].anfme = this.selectNum
 				} else {
diff --git a/pages/pakin/PakinBind.vue b/pages/pakin/PakinBind.vue
index cb3fbb5..90b1cba 100644
--- a/pages/pakin/PakinBind.vue
+++ b/pages/pakin/PakinBind.vue
@@ -2,17 +2,12 @@
 	<view>
 		<view class="code">
 			<view class="item">
-				<view class="code-decs">璁㈠崟鍙�:</view>
-				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="orderNo" :focus="orderNoFocus"
-					@input="orderNoInput()">
-			</view>
-			<view class="item">
 				<view class="code-decs">鎵樼洏鐮�:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus"
 					@input="barcodeInput()">
 			</view>
 			<view class="item">
-				<view class="code-decs">鐗╂枡鐮�:</view>
+				<view class="code-decs">BS鐮�:</view>
 				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="matnr" :focus="matFocus" @input="findMat()">
 				<view class="item-right">
 					<button></button>
@@ -20,10 +15,15 @@
 					<uni-icons type="right" color="#c1c1c1"></uni-icons>
 				</view>
 			</view>
+			<view class="item">
+				<view class="code-decs">鍙拌溅:</view>
+				<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="orderNo" :focus="orderNoFocus"
+					@input="orderNoInput()">
+			</view>
 		</view>
 		<view class="mat-list-title">
 			鍟嗗搧鍒楄〃
-		</view>
+		</view> 
 		<scroll-view>
 			<view class="list" v-for="(item,i) in dataList" :key="i">
 				<view class="list-left">
@@ -228,11 +228,11 @@
 			findMat() {
 				let that = this
 				uni.request({
-					url: that.baseUrl + '/mobile/scan/order/mats',
+					url: that.baseUrl + '/mobile/cache/task/list',
 					method: 'POST',
 					data: {
-						orderNo: that.orderNo,
-						matnr: that.matnr
+						barcode: that.barcode,
+						bsCode: that.matnr
 					},
 					header: {
 						'token': uni.getStorageSync('token')

--
Gitblit v1.9.1