From 7c23a3f00264a8bdf101abec6caa4f85b7d1e45e 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 20:43:53 +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=BF=87=E7=A8=8B=E6=A3=80?= =?UTF-8?q?=E9=AA=8C)=20=E6=89=AB=E7=A0=81=E7=BB=93=E6=9E=9C=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E6=97=B6=EF=BC=8C=E7=AD=89=E5=BE=852s=E5=86=8D?= =?UTF-8?q?=E6=AC=A1=E6=89=93=E5=BC=80=E6=89=AB=E7=A0=81=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/pgMaster/components/dataItem.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 1c09e90f..79748826 100644 --- a/mes-ui/mini-app/src/pages/pgMaster/components/dataItem.vue +++ b/mes-ui/mini-app/src/pages/pgMaster/components/dataItem.vue @@ -61,7 +61,7 @@ const saveSearchValue = (value: string) => { console.error('保存搜索条件失败:', error); } }; -const delay = ref(3);//等待三秒再次打开扫码窗口 后续改为从接口获取 +const delay = ref(2);//等待三秒再次打开扫码窗口 后续改为从接口获取 改为2秒 const getListData = async () => { queryParams.pgType = props.orderState; @@ -108,12 +108,12 @@ const getListData = async () => { isFinish.value = false } } catch (e){ - if(e.data.data==null && e.data.msg){ - //等待三秒再次打开扫码窗口 - setTimeout(() => { - handleScan() - }, delay.value * 1000); - } + // if(e.data.data==null && e.data.msg){ 2025/11/17 处理成功才调用 + // //等待三秒再次打开扫码窗口 + // setTimeout(() => { + // handleScan() + // }, delay.value * 1000); + // } } finally { isLoading.value = false queryParams.type=0