From 66f29ab451014ca2e72fa9a5ff6373ab507ff67c Mon Sep 17 00:00:00 2001 From: xwt <2740516069@qq.com> Date: 星期四, 17 七月 2025 18:32:42 +0800 Subject: [PATCH] 入库检,来料检获取附件—70% --- pages/QC/LLJ/List.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pages/QC/LLJ/List.vue b/pages/QC/LLJ/List.vue index cffc6d1..d02936a 100644 --- a/pages/QC/LLJ/List.vue +++ b/pages/QC/LLJ/List.vue @@ -301,10 +301,19 @@ }, onShow() { //姣忔杩涘叆椤甸潰閮戒細鎵ц鐨勬柟娉� - // this.pageIndex = 1; - // this.data = []; - // //this.current = 0 + // 妫�鏌ユ槸鍚﹂渶瑕佸埛鏂版暟鎹� + const app = getApp(); + if (app.globalData && app.globalData.needRefreshList) { + // 娓呴櫎鏍囪 + app.globalData.needRefreshList = false; + // 寮哄埗鍒锋柊鏁版嵁 + this.pageIndex = 1; // 閲嶇疆椤电爜 + this.inspectionList = []; // 娓呯┖鍒楄〃鏁版嵁 + this.init(); // 閲嶆柊鍔犺浇鏁版嵁 + } else { + // 姝e父鍒锋柊 this.init(); + } }, async onLoad() { if (this.$loginInfo.roleid.indexOf("90134") != -1 || this.$loginInfo.account == "PL017") { -- Gitblit v1.9.3