From dbfb045ad92072e880104e13fddb4dc7574499a1 Mon Sep 17 00:00:00 2001
From: fcx <2246384483@qq.com>
Date: 星期五, 19 十二月 2025 13:56:02 +0800
Subject: [PATCH] 1.给SJ获取检验项目添加防抖
---
pages/QC/SJ/yzxFrom.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/pages/QC/SJ/yzxFrom.vue b/pages/QC/SJ/yzxFrom.vue
index fe978d1..82316c9 100644
--- a/pages/QC/SJ/yzxFrom.vue
+++ b/pages/QC/SJ/yzxFrom.vue
@@ -159,6 +159,11 @@
icon: 'success',
duration: 2000
})
+
+ // 淇濆瓨涓�鑷存�ф牳瀵圭姸鎬佸埌鏈湴瀛樺偍
+ const storageKey = `yzxChecked_${this.formid}`;
+ uni.setStorageSync(storageKey, true);
+
// 淇濆瓨鎴愬姛鍚庢洿鏂扮埗椤甸潰鐘舵��
const pages = getCurrentPages();
if (pages.length > 1) {
@@ -168,10 +173,6 @@
prevPage.$vm.formData.yzxChecked = true;
}
}
- // 鑷姩杩斿洖涓婁竴椤� 澧炲姞鐨�
- setTimeout(() => {
- uni.navigateBack();
- }, 1500);
}else{
uni.showModal({
title: "鎻愮ず",
--
Gitblit v1.9.3