From 5ec7a0c884a29ce03a43b8f1c3ef1b2b77edd781 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 29 Apr 2025 22:44:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=AE=A2=E5=8D=95=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=9C=A8=E7=A1=AE=E8=AE=A4=E6=93=8D=E4=BD=9C=E5=89=8D=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E7=A1=AE=E8=AE=A4=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在确认操作前添加了对确认状态的检查,如果未全部确认,则提示用户点击确认。避免用户未完成确认步骤时直接关闭页面。 --- otherPages/orderTakingManage/detail/index.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/otherPages/orderTakingManage/detail/index.vue b/otherPages/orderTakingManage/detail/index.vue index 2bb0b1f..a3fa6f6 100644 --- a/otherPages/orderTakingManage/detail/index.vue +++ b/otherPages/orderTakingManage/detail/index.vue @@ -348,6 +348,15 @@ } const conform = async () => { + + if(confirmStatus.value.includes(false)){ + uni.showToast({ + title: '请点击确认', + icon: "none" + }); + return + } + close(); // 重置确认状态 confirmStatus.value = [false, false, false];