|
|
|
|
@ -143,7 +143,7 @@
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-350" name="tableRspnsCrdnSttsHstry">
|
|
|
|
|
<div class="table-responsive h-px-350" name="tableRspnsCrdnSttsHstry">
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr name="theadTrCrdnSttsHstry" data-search-target="[data-doctx='${pageName}']">
|
|
|
|
|
@ -194,7 +194,7 @@
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-350" name="tableRspnsPayerHstry">
|
|
|
|
|
<div class="table-responsive h-px-350" name="tableRspnsPayerHstry">
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr name="theadTrPayerHstry" data-search-target="[data-doctx='${pageName}']">
|
|
|
|
|
@ -326,9 +326,13 @@
|
|
|
|
|
ctrlMain.setData([resp.totalInfo]);
|
|
|
|
|
|
|
|
|
|
// 감경 정보
|
|
|
|
|
if (resp.rdctInfo) { $P.ctrlRdct.setData([resp.rdctInfo]); }
|
|
|
|
|
if (resp.rdctInfo)
|
|
|
|
|
$P.ctrlRdct.setData([resp.rdctInfo]);
|
|
|
|
|
// 부과제외 정보
|
|
|
|
|
if (resp.levyExclInfo) { $P.ctrlLevyExcl.setData([resp.levyExclInfo]); }
|
|
|
|
|
if (resp.levyExclInfo) {
|
|
|
|
|
$P.ctrlLevyExcl.setData([resp.levyExclInfo]);
|
|
|
|
|
$P.fnReset(false);
|
|
|
|
|
}
|
|
|
|
|
// 단속상태 이력
|
|
|
|
|
$P.ctrlCrdnSttsHstry.setData(resp.crdnSttsHstrys);
|
|
|
|
|
// 납부자 주소 이력
|
|
|
|
|
@ -584,7 +588,8 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|
$P.fnReset = () => {
|
|
|
|
|
$P.fnReset = (reset = true) => {
|
|
|
|
|
if (reset) {
|
|
|
|
|
// 초기화
|
|
|
|
|
$P.findn("frmEditRdct").reset(); // 감경 화면 초기화
|
|
|
|
|
$P.findn("frmEditLevyExcl").reset(); // 부과제외 화면 초기화
|
|
|
|
|
@ -592,7 +597,8 @@
|
|
|
|
|
$P.ctrlLevyExcl.dataset.clear(); // 부과제외 Dataset 초기화
|
|
|
|
|
$P.ctrlCrdnSttsHstry.dataset.clear(); // 단속상태 이력 Dataset 초기화
|
|
|
|
|
$P.ctrlPayerAddrHstrys.dataset.clear(); // 단속 납부자주소 이력 Dataset 초기화
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
<%--
|
|
|
|
|
// 화면 호출(callPurpose)이 view가 아니라면 버튼 활성화 disabled = false
|
|
|
|
|
if (pageObject["${pageNameMain}"].callPurpose != "view") {
|
|
|
|
|
$P.$findn("btnCreateRdct").prop("disabled", false);
|
|
|
|
|
@ -603,9 +609,13 @@
|
|
|
|
|
$P.$findn("btnUpdateLevyExcl").prop("disabled", false);
|
|
|
|
|
$P.$findn("btnRemoveLevyExcl").prop("disabled", false);
|
|
|
|
|
}
|
|
|
|
|
--%>
|
|
|
|
|
let crdnSttsCd = pageObject["sprt02010"].ctrlMain.dataset.getDataset()[0].CRDN_STTS_CD;
|
|
|
|
|
debug("crdnSttsCd", crdnSttsCd);
|
|
|
|
|
$P.$findn("btnCreateWrng").prop("disabled", crdnSttsCd != "21");
|
|
|
|
|
$P.$findn("btnCreateLevyExcl").prop("disabled", crdnSttsCd == "81");
|
|
|
|
|
$P.$findn("btnUpdateLevyExcl").prop("disabled", crdnSttsCd != "81");
|
|
|
|
|
$P.$findn("btnRemoveLevyExcl").prop("disabled", crdnSttsCd != "81");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
|