diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp index f4c02b3e..26435a25 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -121,9 +121,6 @@ -
@@ -429,83 +426,6 @@ $(document).ready(function(){ } - //납부자 등록,수정 - $P.fnPopPayer = () => { - var callPurpose = ""; - var dialogTitle = ""; - if($("#rtpyrId--${pageName}").val() == null || $("#rtpyrId--${pageName}").val() == ""){ - callPurpose = "create"; - dialogTitle = "납부자 등록"; - } else { - callPurpose = "update"; - dialogTitle = "납부자 수정"; - } - - var params = { - callPurpose : callPurpose, - crdnId : "", // 단속 ID - sggCd : $("#sggCd--${pageName}").val(), // 시군구 코드 - taskSeCd : $("#taskSeCd--${pageName}").val(), // 업무 구분 코드 - rtpyrId : $("#rtpyrId--${pageName}").val(), // 납부자 ID - vhrno : $("#vhrno--${pageName}").val(), // 차량번호 - rtpyrInptSeCd : "01", // 납부자 입력 구분 코드 - delYn : "N" - }; - - ajax.get({ - url : wctx.url("/"+params.taskSeCd + "/payer/info.do"), - data : params || {}, - success : resp => { - dialog.open({ - id : "payerDialog", - title : dialogTitle, - content : resp, - size : "lg", - onClose : () => { $P.refreshPayer(); } // callback - }); - } - }); - } - - $P.refreshPayer = () => { - - var params = { - callPurpose : "refresh", - crdnId : "", - sggCd : $("#sggCd--${pageName}").val(), - taskSeCd : $("#taskSeCd--${pageName}").val(), - delYn : "N" - }; - - ajax.get({ - url : wctx.url("/"+params.taskSeCd + "/sprt/sprt02/020/info.do"), - headers: { Accept: "application/json; charset=utf-8" }, - data : params || {}, - success : resp => { - - if (resp.crdnPayer) { - var payer = resp.crdnPayer; - $("#rtpyrId--${pageName}").val(payer.RTPYR_ID).change(); - $("#rtpyrNm--${pageName}").val(payer.RTPYR_NM).change(); - $("#rtpyrSeCd--${pageName}").val(payer.RTPYR_SE_CD).change(); - $("#rtpyrNo--${pageName}").val(payer.RTPYR_NO).change(); - $("#zip--${pageName}").val(payer.ZIP).change(); - $("#addr--${pageName}").val(payer.ADDR).change(); - $("#dtlAddr--${pageName}").val(payer.DTL_ADDR).change(); - } else { - $("#rtpyrId--${pageName}").val("").change(); - $("#rtpyrNm--${pageName}").val("").change(); - $("#rtpyrSeCd--${pageName}").val("").change(); - $("#rtpyrNo--${pageName}").val("").change(); - $("#zip--${pageName}").val("").change(); - $("#addr--${pageName}").val("").change(); - $("#dtlAddr--${pageName}").val("").change(); - } - } - }); - - } - /************************************************************************** * 초기화(업무별 입력항목) **************************************************************************/ @@ -638,9 +558,6 @@ $(document).ready(function(){ }); - //납부자 등록, 수정 - $("#btnPopPayer--${pageName}").on("click", () => $P.fnPopPayer()); - $("#teamId--${pageName}").on("change",function(){ $("#teamer1--${pageName}").val(""); $("#teamer2--${pageName}").val(""); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index d27e05c4..d286d54d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -155,7 +155,7 @@