From aac25494288e33d02bcd3bb319db0db8288acd94 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 25 二月 2025 14:12:03 +0800
Subject: [PATCH] 20250225A
---
pages/phyz/stationManage/confirmProcessed.vue | 31 +++++++++++++++++++++++++++++--
1 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/pages/phyz/stationManage/confirmProcessed.vue b/pages/phyz/stationManage/confirmProcessed.vue
index a855721..f1984d5 100644
--- a/pages/phyz/stationManage/confirmProcessed.vue
+++ b/pages/phyz/stationManage/confirmProcessed.vue
@@ -77,6 +77,12 @@
<view class="popup-item-left">绔欑偣鍙�:</view>
<view class="popup-item-right"><input type="text" v-model="devNo"></view>
</view>
+ <view class="popup-item">
+ <view class="popup-item-left">鐩爣妤煎眰:</view>
+ <view class="popup-item-right" style="border: none;">
+ <uni-combox style="height: 50rpx;" :candidates="floorList" placeholder="璇烽�夋嫨鐩爣妤煎眰" v-model="floor">
+ </uni-combox></view>
+ </view>
<view class="btn">
<button class="btn-left" @click="processedClose">鍙栨秷</button>
<button class="btn-right" @click="processedConfirm()" :disabled="processedDis">鍔犲伐瀹屾垚</button>
@@ -99,6 +105,8 @@
baseUrl: '',
token: '',
dataList: [],
+ floorList:['浜屽巶','涓夊巶'],
+ floor: '',
count: 0,
containerType: '',
isOpen: true,
@@ -146,6 +154,15 @@
if (res.code === 200) {
for (let k of res.data.records) {
k['maxCount'] = k.anfme
+ if (k.threeCode) {
+ if (k.threeCode.includes("B")) {
+ _this.floor = '浜屽巶'
+ } else if (k.threeCode.includes("G")) {
+ _this.floor = '涓夊巶'
+ } else {
+ _this.floor = ''
+ }
+ }
}
_this.dataList = res.data.records
} else if (res.code == 403) {
@@ -164,12 +181,22 @@
this.$refs.process.close()
},
processedConfirm() {
+ let factor = ''
+ if (!this.floor) {
+ uni.showToast({ title: '璇烽�夋嫨妤煎眰', icon: "error", position: 'top' })
+ return
+ }
+ if (this.floor == '浜屽巶') {
+ factor = 'B'
+ } else if (this.floor == '涓夊巶') {
+ factor = 'G'
+ }
this.processedDis = true
let that = this
uni.request({
- url: that.baseUrl + '/agvMobile/hand/control/processed',
+ url: that.baseUrl + '/agvMobile/hand/control/processed/v2',
header: {'token': uni.getStorageSync('token')},
- data: {devNo: that.devNo, barcode: that.barcode,wrkDetls:that.dataList},
+ data: {devNo: that.devNo, barcode: that.barcode,wrkDetls:that.dataList,factory: factor},
method: 'POST',
success(result) {
that.processedDis = false
--
Gitblit v1.9.1