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;