diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp index c45594ea..79148ee4 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp @@ -32,7 +32,7 @@ - +
@@ -139,7 +139,7 @@ $P.$findn("frmEdit").find("input,textarea,select").prop("disabled", true); // button 요소들을 disabled - $P.$findn("btnLevyExclYmd").prop("disabled", true); // 부과제외 일자 달력 버튼 + $P.$findn("btnDscsnYmd").prop("disabled", true); // 상담일자 달력 버튼 $P.$findn("btnSave").prop("disabled", true); // 저장 버튼 } else if ($P.callPurpose == "update") { $P.$findn("cvlcptRcptSeCd").prop("disabled", true); // 민원 접수 구분 코드 diff --git a/src/main/webapp/resources/js/fims/excl/excl01020.js b/src/main/webapp/resources/js/fims/excl/excl01020.js index b3e30bb8..1dda2870 100644 --- a/src/main/webapp/resources/js/fims/excl/excl01020.js +++ b/src/main/webapp/resources/js/fims/excl/excl01020.js @@ -32,9 +32,9 @@ function newExcl01020Control(pageName, doctx="[data-doctx='excl01020']") { ctrl.urls.create = wctx.url("/" + item.data.TASK_SE_CD + pageObject[pageName].prefixUrl + "/020/create.do"); // 등록 ctrl.urls.update = wctx.url("/" + item.data.TASK_SE_CD + pageObject[pageName].prefixUrl + "/020/update.do"); // 수정 - // 부과제외 일자 - if (item.data.LEVY_EXCL_YMD == null) { - $(ctrl.find("[name='levyExclYmd']")).datepicker("setDate", TODAY()); + // 등록 + if (!item.data.LEVY_EXCL_ID) { + $(ctrl.find("[name='levyExclYmd']")).datepicker("setDate", TODAY()); // 부과제외 일자 } }; diff --git a/src/main/webapp/resources/js/fims/sprt/sprt04020.js b/src/main/webapp/resources/js/fims/sprt/sprt04020.js index 0fd2cc7e..ca456bcd 100644 --- a/src/main/webapp/resources/js/fims/sprt/sprt04020.js +++ b/src/main/webapp/resources/js/fims/sprt/sprt04020.js @@ -25,6 +25,11 @@ function newSprt04020Control(pageName, doctx="[data-doctx='sprt04020']") { // 업무구분에 따른 URL 변경 ctrl.urls.create = wctx.url("/" + item.data.TASK_SE_CD + pageObject[pageName].prefixUrl + "/020/create.do"); // 등록 ctrl.urls.update = wctx.url("/" + item.data.TASK_SE_CD + pageObject[pageName].prefixUrl + "/020/update.do"); // 수정 + + // 등록 + if (!item.data.CVLCPT_DSCSN_ID) { + $(ctrl.find("[name='dscsnYmd']")).datepicker("setDate", TODAY()); // 상담 일자 + } }; // 저장 callback