기타 수정.

main
JoJH 2 weeks ago
parent 2db89b36df
commit fe5de3c2f3

@ -378,7 +378,7 @@
dialog.open({ dialog.open({
id: "searchAddrDialog" id: "searchAddrDialog"
, title: "주소 검색" , title: "주소검색"
, size: "lg" , size: "lg"
, content: template , content: template
, init: () => { , init: () => {

@ -25,8 +25,8 @@ function newRent01040Control(pageName, doctx="[data-doctx='rent01040']") {
// 저장 callback // 저장 callback
ctrl.onSave = (params, resp) => { ctrl.onSave = (params, resp) => {
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName);
let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id; let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id;
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName);
// 메시지 출력 // 메시지 출력
dialog.alert({ dialog.alert({

@ -35,8 +35,8 @@ function newRent02040Control(pageName, doctx="[data-doctx='rent02040']") {
// 저장 callback // 저장 callback
ctrl.onSave = (params, resp) => { ctrl.onSave = (params, resp) => {
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName);
let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id; let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id;
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName);
// 메시지 출력 // 메시지 출력
dialog.alert({ dialog.alert({

@ -24,7 +24,8 @@ function newRent03020Control(pageName, doctx="[data-doctx='rent03020']") {
formFields.set(ctrl, item); formFields.set(ctrl, item);
// 가상 계좌번호, 전자납부번호 // 가상 계좌번호, 전자납부번호
let vrActno = Array.from({length: 20}, (x, i) => { let vrActno =
Array.from({length: 20}, (x, i) => {
let no = i + 1 let no = i + 1
, bank = "BANK_NM" + (no > 1 ? no : "") , bank = "BANK_NM" + (no > 1 ? no : "")
, account = "VR_ACTNO" + (no > 1 ? no : ""); , account = "VR_ACTNO" + (no > 1 ? no : "");
@ -38,7 +39,8 @@ function newRent03020Control(pageName, doctx="[data-doctx='rent03020']") {
return bank ? bank + " " + account : null; return bank ? bank + " " + account : null;
}) })
.filter(txt => txt != null) .filter(txt => txt != null)
.join("\n"); .join("\n")
;
$(ctrl.find("[name='vrActno']")).val(vrActno); // 가상 계좌번호 $(ctrl.find("[name='vrActno']")).val(vrActno); // 가상 계좌번호
$(ctrl.find("[name='epaynoMask']")).val(item.data.EPAYNO_MASK); // 전자납부번호 $(ctrl.find("[name='epaynoMask']")).val(item.data.EPAYNO_MASK); // 전자납부번호

Loading…
Cancel
Save