From 960eb88619bbba0382eb04004b24beb9e7b4f3e6 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期五, 17 十月 2025 13:22:11 +0800
Subject: [PATCH] 1.新增agv站点状态更换功能
---
pages/AGV/AGVYBPakin.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pages/AGV/AGVYBPakin.vue b/pages/AGV/AGVYBPakin.vue
index 6611330..57459f6 100644
--- a/pages/AGV/AGVYBPakin.vue
+++ b/pages/AGV/AGVYBPakin.vue
@@ -11,8 +11,8 @@
@input="barcodeInput()">
</view>
<view class="item">
- <view class="code-decs">鎵规鍙�:</view>
- <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="batch" :focus="batchFocus" @input="findMat()">
+ <view class="code-decs">楠屽竷鐮�:</view>
+ <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="batchCode" :focus="batchFocus" @input="findMat()">
<!-- <view class="item-right">
<button></button>
<text style="text-align: right;color: #409EFF;" @click="selectMat()">鎻愬彇+</text>
@@ -175,6 +175,7 @@
rowNum: '',
matnr: '',
batch: '',
+ batchCode: '',
weight: '',
msgType1: 'success',
msgType: 'success',
@@ -292,7 +293,7 @@
findMat() {
let that = this
uni.request({
- url: that.baseUrl + '/mobile/mat/tiaoma/auth?barcode=' + that.batch,
+ url: that.baseUrl + '/mobile/mat/tiaoma/auth?barcode=' + that.batchCode,
header: {
'token': uni.getStorageSync('token')
@@ -303,7 +304,6 @@
that.dataList.unshift(result.data)
that.focuss()
} else if (result.code == 403) {
- console.info(123)
uni.showToast({
title: result.msg,
icon: "none",
@@ -471,7 +471,7 @@
uni.request({
url: that.baseUrl + '/mobile/comb/auth',
data: JSON.stringify({
- beBatch: 1,
+ beBatch: 0,
barcodeSize: '0',
rsta: that.rsta,
barcode: that.barcode,
--
Gitblit v1.9.1