From ad64c2c869dce9f17300737db261ef733d572df6 Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Mon, 9 Feb 2026 14:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E5=85=B7=E5=BA=93=E5=AD=98=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/WEB-INF/views/rm/unFinishWorkList.jsp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebContent/WEB-INF/views/rm/unFinishWorkList.jsp b/WebContent/WEB-INF/views/rm/unFinishWorkList.jsp index f57ad6a..12d6f65 100644 --- a/WebContent/WEB-INF/views/rm/unFinishWorkList.jsp +++ b/WebContent/WEB-INF/views/rm/unFinishWorkList.jsp @@ -218,14 +218,14 @@ let pizhun=[]; let shenhe=[]; - + debugger for (var i = 0; i < selectedValues.length; i++) { const item = selectedValues[i]; // 缓存当前元素,代码更简洁 console.log('当前遍历元素:', item); // 核心:判断字符串是否包含「新购任务审核」,includes返回布尔值 - if (item.includes('新购任务审核')) { + if (item.includes('新购任务审核') || item.includes('新购检验审核')) { shenhe.push(item); // 符合条件,推入xingo - } else if (item.includes('新购任务批准')){ + } else if (item.includes('新购任务批准') || item.includes('新购检验批准')){ pizhun.push(item); // 不符合,推入shenhe } }