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/bind.vue | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/pages/agv/bind.vue b/pages/agv/bind.vue
index aa57a6a..62a9da8 100644
--- a/pages/agv/bind.vue
+++ b/pages/agv/bind.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",
@@ -316,8 +331,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: '1'
}),
method: 'POST',
--
Gitblit v1.9.1