From f6feff7d471ab34763ee125357da4b08405a16ff Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 02 十二月 2025 08:32:33 +0800
Subject: [PATCH] #

---
 pages/agv/unBind.vue |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/pages/agv/unBind.vue b/pages/agv/unBind.vue
index 904efb3..594089e 100644
--- a/pages/agv/unBind.vue
+++ b/pages/agv/unBind.vue
@@ -10,7 +10,7 @@
 				</view>
 				<view class="square-content">
 					<view class="content-input">
-						<input v-model="sourceLocNo" type="text" placeholder="鎵爜 / 杈撳叆"
+						<input v-model="barcode" type="text" placeholder="鎵爜 / 杈撳叆"
 							placeholder-style="line-height:  85rpx;">
 						<uni-icons type="closeempty" size="20" color="#dadada" @click="removeSouLocNo()"></uni-icons>
 					</view>
@@ -23,6 +23,21 @@
 						<view class="sign"></view>
 					</view>
 					<view class="title-text"><text>绔欑偣鍙�</text></view>
+				</view>
+				<view class="square-content">
+					<view class="content-input">
+						<input v-model="staNo" type="text" placeholder="鎵爜 / 杈撳叆"
+							placeholder-style="line-height:  85rpx;">
+						<uni-icons type="closeempty" size="20" color="#dadada" @click="removelocNo()"></uni-icons>
+					</view>
+				</view>
+			</view>
+			<view class="square-2">
+				<view class="square-title">
+					<view class="title-sign">
+						<view class="sign"></view>
+					</view>
+					<view class="title-text"><text>AGV搴撲綅鍙�</text></view>
 				</view>
 				<view class="square-content">
 					<view class="content-input">
@@ -304,7 +319,7 @@
 			comb() {
 				uni.vibrateShort();
 				let that = this;
-				if (that.sourceLocNo === '' || that.locNo === '') {
+				if (that.barcode === '' ) {
 					uni.showToast({
 						title: '璇锋壂鎻忚捣濮嬬珯鎴栫洰鏍囧簱浣�',
 						icon: "none",
@@ -312,7 +327,7 @@
 					});
 					return;
 				}
-				if (!that.staList.includes(that.locNo)) {
+				if (!that.staList.includes(that.staNo)) {
 					uni.showToast({
 						title: '鐩爣绔欏繀椤讳负' + that.staList,
 						icon: "none",
@@ -325,8 +340,9 @@
 				uni.request({
 					url: that.commonUrl + '/open/asrs/agv/bindCtnrAndBin/v1',
 					data: JSON.stringify({
-						barcode: that.sourceLocNo,
-						staNo: that.locNo,
+						barcode: that.barcode,
+						staNo: that.staNo,
+						locNo: that.locNo,
 						indBind: '0'
 					}),
 					method: 'POST',

--
Gitblit v1.9.1