|
|
@ -161,6 +161,11 @@
|
|
|
|
<i class="fa-solid fa-pen"></i>
|
|
|
|
<i class="fa-solid fa-pen"></i>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<label for="zip--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">우편번호</label>
|
|
|
|
|
|
|
|
<input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100"
|
|
|
|
|
|
|
|
readonly maxlength="7" pattern="(\d{3}-\d{3}|\d{6}|\d{5})" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR"
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR"
|
|
|
@ -171,14 +176,6 @@
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR"
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR"
|
|
|
|
class="form-control w-px-700" readonly data-maxlengthb="200" />
|
|
|
|
class="form-control w-px-700" readonly data-maxlengthb="200" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
|
|
|
<label for="zip--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">우편번호</label>
|
|
|
|
|
|
|
|
<input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100"
|
|
|
|
|
|
|
|
readonly maxlength="7" pattern="(\d{3}-\d{3}|\d{6}|\d{5})" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
@ -807,7 +804,7 @@ $(document).ready(function(){
|
|
|
|
$P.fnPopPayer = () => {
|
|
|
|
$P.fnPopPayer = () => {
|
|
|
|
var callPurpose = "";
|
|
|
|
var callPurpose = "";
|
|
|
|
var dialogTitle = "";
|
|
|
|
var dialogTitle = "";
|
|
|
|
if($("#rtpyrId--${pageName}").val() == "" || $("#rtpyrId--${pageName}").val() == null){
|
|
|
|
if($("#rtpyrId--${pageName}").val() == null || $("#rtpyrId--${pageName}").val() == ""){
|
|
|
|
callPurpose = "create";
|
|
|
|
callPurpose = "create";
|
|
|
|
dialogTitle = "납부자 등록";
|
|
|
|
dialogTitle = "납부자 등록";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -835,8 +832,47 @@ $(document).ready(function(){
|
|
|
|
title : dialogTitle,
|
|
|
|
title : dialogTitle,
|
|
|
|
content : resp,
|
|
|
|
content : resp,
|
|
|
|
size : "lg",
|
|
|
|
size : "lg",
|
|
|
|
onClose : () => { } // callback
|
|
|
|
onClose : () => { $P.refreshPayer(); } // callback
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.refreshPayer = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var params = {
|
|
|
|
|
|
|
|
callPurpose : "refresh",
|
|
|
|
|
|
|
|
crdnId : $("#crdnId--${pageName}").val(),
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|