From e0d8cc7f7c02de35cdd0f6eb4980cae016975c3c Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 7 Aug 2025 17:05:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/evaluate/outsourceAudit/outsourceAuditForm.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html b/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html index 795a1bf..d4bed78 100644 --- a/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html +++ b/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html @@ -93,7 +93,7 @@ let keyList = [] for (let key in item) { - if (key.indexOf('-') > 0) { + if (key.indexOf('-') > 0 && key.split('-').length - 1 >= 2) { keyList.push(item[key]) } } From 873cbd28702a2857519607e1a506178c7a185ef6 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 7 Aug 2025 17:08:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/evaluate/outsourceAudit/outsourceAuditForm.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html b/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html index d4bed78..147e9ab 100644 --- a/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html +++ b/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html @@ -97,7 +97,7 @@ keyList.push(item[key]) } } - const isAllNull = keyList.every(item => item * 1 >= 0) + const isAllNull = keyList.every(item => item !== '' && item * 1 >= 0) tableListNew.push({ ...item, isAllNull: !isAllNull