fcx
5 天以前 dbfb045ad92072e880104e13fddb4dc7574499a1
pages/QC/SJ/yzxFrom.vue
@@ -159,6 +159,20 @@
              icon: 'success',
              duration: 2000
            })
            // 保存一致性核对状态到本地存储
            const storageKey = `yzxChecked_${this.formid}`;
            uni.setStorageSync(storageKey, true);
            // 保存成功后更新父页面状态
            const pages = getCurrentPages();
            if (pages.length > 1) {
              const prevPage = pages[pages.length - 2]; // 上一个页面
              if (prevPage && prevPage.$vm) {
                // 更新父页面的一致性核对状态
                prevPage.$vm.formData.yzxChecked = true;
              }
            }
         }else{
            uni.showModal({
               title: "提示",