From 3b034fa28c604746b9182659a2610a2b80284827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E5=BA=86?= <18331150170@163.com> Date: Mon, 17 Nov 2025 19:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=EF=BC=9A=E8=B4=A8?= =?UTF-8?q?=E6=A3=80=E6=8A=A5=E5=B7=A5=E8=B0=83=E6=95=B4=EF=BC=8C=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E8=AE=B0=E5=BF=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/pgMaster/components/dataItem.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mes-ui/mini-app/src/pages/pgMaster/components/dataItem.vue b/mes-ui/mini-app/src/pages/pgMaster/components/dataItem.vue index 8cf36e76..1c09e90f 100644 --- a/mes-ui/mini-app/src/pages/pgMaster/components/dataItem.vue +++ b/mes-ui/mini-app/src/pages/pgMaster/components/dataItem.vue @@ -80,7 +80,11 @@ const getListData = async () => { if (data.data!=null){ uni.showToast({ title: data.data, icon: 'none' }) - isScan.value=true + isScan.value=true; + //等待三秒再次打开扫码窗口 + setTimeout(() => { + handleScan() + }, delay.value * 1000); } data.list.forEach((e) => { e.orderTime = formatDate(e.orderTime, 'YYYY-MM-DD') @@ -119,8 +123,8 @@ const getListData = async () => { } onMounted(async () => { - searchVal.value=getStoredSearchValue() - queryParams.subOrDetailName=getStoredSearchValue() + //searchVal.value=getStoredSearchValue() + //queryParams.subOrDetailName=getStoredSearchValue() await getListData() })