From a9ae6161822221640ecf7e0299035d47c4b3e09b Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Thu, 3 Jul 2025 09:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SecondPhase/EmptyBoxOutStore.vue | 12 ++++++++--- pages/SecondPhase/finished/BoxWeight.vue | 18 ++++++++++------ pages/SecondPhase/finished/ReturnToStore.vue | 20 +++++++++++------- pages/SecondPhase/finished/abnorToStore.vue | 22 +++++++++++++------- pages/SecondPhase/point/ManPass.vue | 16 +++++++++----- pages/SecondPhase/production/SboProcess.vue | 2 +- 6 files changed, 60 insertions(+), 30 deletions(-) diff --git a/pages/SecondPhase/EmptyBoxOutStore.vue b/pages/SecondPhase/EmptyBoxOutStore.vue index a635c5d..60b47a7 100644 --- a/pages/SecondPhase/EmptyBoxOutStore.vue +++ b/pages/SecondPhase/EmptyBoxOutStore.vue @@ -79,6 +79,7 @@ import NavBar from '@/components/NavBar.vue' import SearchBox from '@/components/SearchBox.vue' import UpTop from '@/components/upTop.vue' + import { confirmAction } from '@/utils/utils.js' import {twoQueryBoxIvt, twoBoxOut} from '@/utils/getData3.js' export default { components: { @@ -134,12 +135,17 @@ this.selectedNum = this.checkArr.length } }, - async _twoBoxOut () { - this.disabled = true + async handleConfirm() { if (!this.checkArr.length) { - this.disabled = false return } + const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?") + if (isConfirmed) { + this._twoPdaVehicleIn() + } + }, + async _twoBoxOut () { + this.disabled = true try { let res = await twoBoxOut(this.checkArr) uni.showToast({ diff --git a/pages/SecondPhase/finished/BoxWeight.vue b/pages/SecondPhase/finished/BoxWeight.vue index 3f13d36..67289e5 100644 --- a/pages/SecondPhase/finished/BoxWeight.vue +++ b/pages/SecondPhase/finished/BoxWeight.vue @@ -4,7 +4,7 @@ - + {{$t('filter.box-no')}} @@ -12,7 +12,7 @@ - + {{$t('grid.weight')}} @@ -22,7 +22,7 @@ - + @@ -30,6 +30,7 @@