diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp index d2059681..8934c23f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp @@ -378,7 +378,7 @@ dialog.open({ id: "searchAddrDialog" - , title: "주소 검색" + , title: "주소검색" , size: "lg" , content: template , init: () => { diff --git a/src/main/webapp/resources/js/fims/rent/rent01040.js b/src/main/webapp/resources/js/fims/rent/rent01040.js index f90270ca..96d5244c 100644 --- a/src/main/webapp/resources/js/fims/rent/rent01040.js +++ b/src/main/webapp/resources/js/fims/rent/rent01040.js @@ -25,8 +25,8 @@ function newRent01040Control(pageName, doctx="[data-doctx='rent01040']") { // 저장 callback ctrl.onSave = (params, resp) => { - let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName); let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id; + let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName); // 메시지 출력 dialog.alert({ diff --git a/src/main/webapp/resources/js/fims/rent/rent02040.js b/src/main/webapp/resources/js/fims/rent/rent02040.js index e664825c..1d8a9029 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02040.js +++ b/src/main/webapp/resources/js/fims/rent/rent02040.js @@ -35,8 +35,8 @@ function newRent02040Control(pageName, doctx="[data-doctx='rent02040']") { // 저장 callback ctrl.onSave = (params, resp) => { - let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName); let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id; + let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName); // 메시지 출력 dialog.alert({ diff --git a/src/main/webapp/resources/js/fims/rent/rent03020.js b/src/main/webapp/resources/js/fims/rent/rent03020.js index 97b03f05..45a9dd35 100644 --- a/src/main/webapp/resources/js/fims/rent/rent03020.js +++ b/src/main/webapp/resources/js/fims/rent/rent03020.js @@ -24,21 +24,23 @@ function newRent03020Control(pageName, doctx="[data-doctx='rent03020']") { formFields.set(ctrl, item); // 가상 계좌번호, 전자납부번호 - let vrActno = Array.from({length: 20}, (x, i) => { - let no = i + 1 - , bank = "BANK_NM" + (no > 1 ? no : "") - , account = "VR_ACTNO" + (no > 1 ? no : ""); + let vrActno = + Array.from({length: 20}, (x, i) => { + let no = i + 1 + , bank = "BANK_NM" + (no > 1 ? no : "") + , account = "VR_ACTNO" + (no > 1 ? no : ""); - return [bank, account] - }) - .map(entry => { - let bank = item.data[entry[0]] - , account = item.data[entry[1]]; + return [bank, account] + }) + .map(entry => { + let bank = item.data[entry[0]] + , account = item.data[entry[1]]; - return bank ? bank + " " + account : null; - }) - .filter(txt => txt != null) - .join("\n"); + return bank ? bank + " " + account : null; + }) + .filter(txt => txt != null) + .join("\n") + ; $(ctrl.find("[name='vrActno']")).val(vrActno); // 가상 계좌번호 $(ctrl.find("[name='epaynoMask']")).val(item.data.EPAYNO_MASK); // 전자납부번호