From a0535e42ebe01366d3bb83e00eb0180b34682a63 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 04 六月 2026 14:04:19 +0800
Subject: [PATCH] 马铃薯app 1.客户往来、供应商往来查询展示修改 2.环境检测页面展示修改

---
 src/pages/inspectionUpload/index.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/pages/inspectionUpload/index.vue b/src/pages/inspectionUpload/index.vue
index bedc38f..80c4c76 100644
--- a/src/pages/inspectionUpload/index.vue
+++ b/src/pages/inspectionUpload/index.vue
@@ -297,11 +297,15 @@
 
   const getFileStatus = record => {
     let _beforeProduction =
-      record.beforeProduction && record.beforeProduction.length;
+      (record.commonFileListBeforeVO && record.commonFileListBeforeVO.length) ||
+      (record.commonFileListBefore && record.commonFileListBefore.length);
     let _afterProduction =
-      record.afterProduction && record.afterProduction.length;
+      (record.commonFileListVO && record.commonFileListVO.length) ||
+      (record.commonFileListAfter && record.commonFileListAfter.length);
     let _productionIssues =
-      record.productionIssues && record.productionIssues.length;
+      (record.commonFileListAfterVO && record.commonFileListAfterVO.length) ||
+      (record.commonFileListIssue && record.commonFileListIssue.length);
+
     if (_beforeProduction && _afterProduction && _productionIssues) {
       return 2;
     } else if (_beforeProduction || _afterProduction || _productionIssues) {

--
Gitblit v1.9.3