납부자 수정, 납부자주소 이력 소스 수정.

main
JoJH 1 week ago
parent d4beba011d
commit ae7fbfcd6f

@ -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}]);
});
</script>

@ -237,10 +237,10 @@
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">납부자 정보</label>
<!-- 버튼 우측 정렬 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnDeleteCrdnPayer" title="초기화">
<button type="button" class="btn btn-primary w-px-120" name="btnDeleteCrdnPayer" title="납부자 초기화">
납부자 초기화
</button>
<button type="button" class="btn btn-primary w-px-120" name="btnUpdatePayer" title="수정">
<button type="button" class="btn btn-primary w-px-120" name="btnUpdatePayer" title="납부자 수정">
납부자 수정
</button>
</span>

@ -179,7 +179,7 @@
<div class="card">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">주소 변동 이력</label>
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">납부자주소 이력</label>
</div>
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
@ -190,6 +190,7 @@
<tr name="theadTrPayerHstry" data-search-target="[data-doctx='${pageName}']">
<th class="cmn sorting" style="width: 180px;" data-field="REG_DT">등록일시</th>
<th class="cmn sorting" style="width: 140px;" data-field="RGTR_NM">등록사용자</th>
<th class="cmn sorting" style="width: 120px;" data-field="RTPYR_NM">납부자성명</th>
<th class="cmn sorting" style="width: 100px;" data-field="ZIP">우편번호</th>
<th class="cmn sorting" style="width: 480px;" data-field="WHOL_ADDR">전체주소</th>
<th class="cmn dummy-th"></th>
@ -201,6 +202,7 @@
<tr data-key="{data-index}">
<td class="cmn text-center" onclick="{onclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}">{RGTR_NM}</td>
<td class="cmn text-start" onclick="{onclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}">{ZIP}</td>
<td class="cmn text-start" onclick="{onclick}">{WHOL_ADDR}</td>
<td class="cmn dummy-td"></td>
@ -208,7 +210,7 @@
</template>
<template name="tmpltNotFoundPayerHstry">
<tr class="odd">
<td valign="top" colspan="5" class="dataTables_empty text-center">주소변동 이력 정보를 찾지 못했습니다.</td>
<td valign="top" colspan="6" class="dataTables_empty text-center">납부자주소 이력 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>

@ -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

Loading…
Cancel
Save