From 82c38c2dc22622acb181206c124e9bc8582779d9 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 16:08:30 +0800
Subject: [PATCH] #

---
 pages/listing/matnrPalletising.vue |   20 +++++++++++++-------
 pages/AGV/StartInTask.vue          |    2 +-
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/pages/AGV/StartInTask.vue b/pages/AGV/StartInTask.vue
index 6cadc5a..aee5dd7 100644
--- a/pages/AGV/StartInTask.vue
+++ b/pages/AGV/StartInTask.vue
@@ -249,7 +249,7 @@
 				return
 			}
 			this.repeatClick = true
-			const { code, data, msg } = await request('/AGV/task/start', {
+			const { code, data, msg } = await request('/AGV/bindAndIn/start', {
 				staNo: this.agvStationInput,
 				area: this.whAreaId,
 				barcode: this.barcode
diff --git a/pages/listing/matnrPalletising.vue b/pages/listing/matnrPalletising.vue
index 255ac8e..bfdd69f 100644
--- a/pages/listing/matnrPalletising.vue
+++ b/pages/listing/matnrPalletising.vue
@@ -92,7 +92,9 @@
 							<text class="text-black">璁″垝璺熻釜鍙�:</text>
 						</view>
 						<view class="action">
-							<text class="text-grey">{{ item.platWorkCode }}</text>
+							<text class="text-grey">
+								{{ item.platWorkCode }}
+							</text>
 						</view>
 					</view>
 					<view class="cu-item">
@@ -253,10 +255,15 @@
 							/>
 						</view>
 					</view>
-					<view class="form-item" v-if="agvStationName">
+					<view
+						class="form-item"
+						v-if="agvStationName"
+					>
 						<text class="form-label">绔欑偣鍚嶇О</text>
 						<view class="input-wrapper">
-							<view class="agv-input text-grey">{{agvStationName}}</view>
+							<view class="agv-input text-grey">
+								{{ agvStationName }}
+							</view>
 						</view>
 					</view>
 					<view class="form-item">
@@ -363,7 +370,7 @@
 				transferStationNo: this.agvStationInput
 			})
 			if (code === 200) {
-				this.agvStationName = data.stationName
+				this.agvStationName = data.stationId
 			} else {
 				uni.showToast({
 					title: msg,
@@ -448,8 +455,7 @@
 			this.list = this.list.filter(
 				(item, index, self) =>
 					self.findIndex(
-						(i) =>
-							i.id === item.id // 鏍规嵁id鍘婚噸
+						(i) => i.id === item.id // 鏍规嵁id鍘婚噸
 					) === index && item.isptResult === self[0].isptResult
 			)
 			let newLength = this.list.length
@@ -575,7 +581,7 @@
 				return
 			}
 			this.showAgvInputModal = false
-			this.submitConfirm(this.agvStationName)
+			this.submitConfirm(this.agvStationInput)
 		},
 		// 鎻愪氦缁勬墭璇锋眰
 		async submitConfirm(agvStation) {

--
Gitblit v1.9.1