|
|
|
|
@ -611,11 +611,20 @@
|
|
|
|
|
}
|
|
|
|
|
--%>
|
|
|
|
|
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");
|
|
|
|
|
let exclWarn = "81,83".includes(crdnSttsCd), <%-- 부과제외 또는 계도 --%>
|
|
|
|
|
label = "83" == crdnSttsCd ? "계도" : "부과제외",
|
|
|
|
|
button = $P.$findn("btnUpdateLevyExcl");
|
|
|
|
|
button
|
|
|
|
|
.attr("title", label + " 수정")
|
|
|
|
|
.html(button.attr("title"))
|
|
|
|
|
.prop("disabled", !exclWarn);
|
|
|
|
|
button = $P.$findn("btnRemoveLevyExcl");
|
|
|
|
|
button
|
|
|
|
|
.attr("title", label + " 삭제")
|
|
|
|
|
.html(button.attr("title"))
|
|
|
|
|
.prop("disabled", !exclWarn);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
|