From d0b3d7c2593c09292a179d9695f35255976356b8 Mon Sep 17 00:00:00 2001 From: Leeyh1121 <130335980+Leeyh1121@users.noreply.github.com> Date: Wed, 10 Jul 2024 09:35:30 +0900 Subject: [PATCH] =?UTF-8?q?fit=20:=20=EA=B2=80=EC=83=89=EC=A1=B0=EA=B1=B4?= =?UTF-8?q?=EC=97=90=20=EC=97=94=ED=84=B0=ED=82=A4=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=EC=8B=9C=20=EA=B2=80=EC=83=89=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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]);