From ae7fbfcd6f77960ebd2013b6258a4d5e7230003f Mon Sep 17 00:00:00 2001 From: JoJH Date: Tue, 5 Nov 2024 10:11:32 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=A9=EB=B6=80=EC=9E=90=20=EC=88=98?= =?UTF-8?q?=EC=A0=95,=20=EB=82=A9=EB=B6=80=EC=9E=90=EC=A3=BC=EC=86=8C=20?= =?UTF-8?q?=EC=9D=B4=EB=A0=A5=20=EC=86=8C=EC=8A=A4=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/payer/payer01020-info.jsp | 13 ++++--------- .../webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp | 4 ++-- .../webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp | 6 ++++-- .../webapp/resources/js/fims/payer/payer01020.js | 2 +- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp index 60e475ff..ce97b561 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp @@ -140,6 +140,8 @@ // pageObject let $P = pageObject["${pageName}"]; + // URL + $P.prefixUrl = "${prefixUrl}" // datasetControl $P.ctrl = newPayer01020Control("${pageName}", "[data-doctx=${pageName}]"); // infoDialog 호출 용도(view 조회(편집불가), create 등록, update 수정) @@ -148,11 +150,6 @@ /************************************************************************** * 사용자 함수(function) **************************************************************************/ - // 업무구분에 따른 URL 설정 - $P.fnSetURL = (taskSeCd) => { - $P.ctrl.urls.create = wctx.url("/" + taskSeCd + "/payer" + "/createCrdnPayer.do"); // 등록 - } - // 차적 조회 결과 $P.callbackVehicle = (info) => { let pyrSeCd = ""; @@ -333,10 +330,8 @@ }); return; } -debugger; -console.log($P.$findn("stdgCd").length); - if ($P.$findn("stdgCd").length != 10) { + if ($P.$findn("stdgCd").val().length != 10) { dialog.alert({ content: "법정동 코드가 잘못되었습니다." , init: () => { AppSupport.setDialogZindex(); } @@ -389,7 +384,7 @@ console.log($P.$findn("stdgCd").length); $P.fnReset(); // 3. Dataset 설정 - $P.ctrl.setData([${Info}]); + $P.ctrl.setData([${info}]); }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp index 13120eb5..3840922f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp @@ -237,10 +237,10 @@ - - diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp index 0837e893..1c97e693 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp @@ -179,7 +179,7 @@
- +
@@ -190,6 +190,7 @@ 등록일시 등록사용자 + 납부자성명 우편번호 전체주소 @@ -201,6 +202,7 @@ {REG_DT} {RGTR_NM} + {RTPYR_NM} {ZIP} {WHOL_ADDR} @@ -208,7 +210,7 @@ diff --git a/src/main/webapp/resources/js/fims/payer/payer01020.js b/src/main/webapp/resources/js/fims/payer/payer01020.js index c5fc02ec..6ebf5619 100644 --- a/src/main/webapp/resources/js/fims/payer/payer01020.js +++ b/src/main/webapp/resources/js/fims/payer/payer01020.js @@ -27,7 +27,7 @@ function newPayer01020Control(pageName, doctx="[data-doctx='payer01020']") { formFields.set(ctrl, item); // 업무구분에 따른 URL 변경 - pageObject[pageName].fnSetURL(item.data.TASK_SE_CD); + ctrl.urls.create = wctx.url("/" + item.data.TASK_SE_CD + pageObject[pageName].prefixUrl + "/createCrdnPayer.do"); // 등록 }; // 저장 callback