diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp index 6e77f847..52a518ba 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp @@ -215,11 +215,15 @@ // 상세정보 dialog $P.control.getInfo = (mpngId) => { - let params = { - callPurpose: "create" - , mpngId: mpngId - , entId: $P.control.dataset.getValue("ENT_ID") - }; + let params = {}; + + if (typeof mpngId == "undefined" || mpngId == null || mpngId == "") { + params.callPurpose = "create"; + } else { + params.callPurpose = "update"; + params.mpngId = mpngId; + params.schEntNo = $P.control.dataset.getValue("ENT_NO"); + } ajax.get({ url: $P.control.urls.getInfo + "?openerPageName=${pageName}" diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp index c0cb25c9..3b28788e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp @@ -152,7 +152,7 @@