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 6365f43..e35bb62 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 @@ -194,7 +194,7 @@ })); } , appendData: true - , infoSize: $P.control.infoSize + , infoSize: "xl" }); // $P.control 설정 @@ -264,13 +264,15 @@ // 현재 선택 자료 변경 이벤트 $P.control.onCurrentChange = item => { if (!item) { - $P.detailControl.setData([]); + $P.detailControl.setData([]); + $("#btnSearch3--${pageName}").prop("disabled", true); return; } let key = item.data.keyCnt; $("#tbody--${pageName}").setCurrentRow(key); + $("#btnSearch3--${pageName}").prop("disabled", false); $P.fnDetailSearchList("N"); } @@ -457,6 +459,7 @@ // 초기 화면 설정 $P.initForm = () => { //$("#schPrdValidDe--${pageName}").datepicker("setDate", new Date()); + $("#btnSearch3--${pageName}").prop("disabled", true); } /**************************************************************************