diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp index 551b01b..f8fc155 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp @@ -241,6 +241,8 @@ $("#btnSave--${pageName}").on("click", () => $P.fnSave()); // 저장 $("#btnSearch--${pageName}").on("click", () => $P.fnSearchList()); $("#btnSearch2--${pageName}").on("click", () => $P.fnSearchList("Y")); + + $("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList); } // DataTables width 변경 조정 (업무별 그리드가 존재 한다면.. crdn06010-main.jsp 참고) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp index 7c9d3d4..c592a84 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp @@ -426,7 +426,7 @@ **************************************************************************/ // 이벤트 설정 $P.setEvent = () => { - // form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용 + // form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용 $("#frmSearch--${pageName}").find(".form-date").each(function() { $(this).on("input", function() { let value = this.value.replaceAll("-", ""); @@ -444,10 +444,16 @@ $("#btnSearch--${pageName}").on("click", () => $P.fnSearchList()); $("#btnSearch2--${pageName}").on("click", () => $P.fnSearchList("Y")); $("#btnSearch3--${pageName}").on("click", () => $P.fnDetailSearchList()); + + $("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList); + + $("#frmSearch--${pageName}Detail input").onEnterPress($P.fnDetailSearchList); } fnMakeScrollableTable($("#table-responsive-1--${pageName}")[0], $P.scrollDetailDataList); + + // DataTables width 변경 조정 (업무별 그리드가 존재 한다면.. crdn06010-main.jsp 참고) // fnMakeResizableTable($("#table-responsive-0--${pageName}")[0]); // fnMakeResizableTable($("#table-responsive-1--${pageName}")[0]);