From 0d9c92e19b645bee338cf2ce08708750592ec366 Mon Sep 17 00:00:00 2001 From: Leeyh1121 <130335980+Leeyh1121@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:24:08 +0900 Subject: [PATCH] =?UTF-8?q?fit=20:=20=EC=83=81=EC=84=B8=EA=B7=B8=EB=A6=AC?= =?UTF-8?q?=EB=93=9C=20=EC=B4=88=EA=B8=B0=ED=99=94=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp | 6 ++++-- .../WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp | 9 +++++---- .../webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp | 6 ++++-- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp index d8aebec..b918d5e 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp @@ -167,7 +167,6 @@ @@ -263,7 +262,10 @@ // 현재 선택 자료 변경 이벤트 $P.control.onCurrentChange = (item) => { - if (!item) return; + if (!item) { + $P.detailControl.setData([]); + return; + } let key = item.data.DSCDMNG_ID; diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp index b4ffd4e..4149e39 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp @@ -117,7 +117,7 @@ @@ -169,7 +169,6 @@ @@ -263,8 +262,10 @@ // 현재 선택 자료 변경 이벤트 $P.control.onCurrentChange = (item) => { - if (!item) return; - + if (!item) { + $P.detailControl.setData([]); + return; + } let key = item.data.DSCDMNG_ID; $("#tbody--${pageName}").setCurrentRow(key); $P.detailControl.query = { "schDscdmngId" : key}; diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp index 2dc48cf..8715efe 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp @@ -165,7 +165,6 @@ @@ -257,7 +256,10 @@ // 현재 선택 자료 변경 이벤트 $P.control.onCurrentChange = (item) => { - if (!item) return; + if (!item) { + $P.detailControl.setData([]); + return; + } let key = item.data.DSCDMNG_ID;