From 8f531ceefb12facb57160f3050d5602ce1ca5737 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 18 Dec 2023 15:35:18 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=BC=EC=9B=90=EC=9E=90=EB=A3=8C=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp index 032178e9..9a783395 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp @@ -495,12 +495,19 @@ $(document).ready(function(){ if(rcptYmd != null){ var ds = $P.crdnControl.dataset.getDataset(); - var crdnIds = ds.filter(function(item){ + var crdnIds = []; + + var filtered = ds.filter(function(item){ if(item['CVLCPT_RCPT_YMD'] == rcptYmd && !$P.holdList.includes(item['CRDN_ID'])){ - return item["CRDN_ID"]; + return true; + } else { + return false; } }); - + for(var i=0; i < filtered.length; i++){ + crdnIds.push(filtered[i].CRDN_ID); + } + $P.crdnControl.select(crdnIds,true); } else { var cur = $P.crdnControl.getCurrent();