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: "提示",