|
|
|
|
@ -232,6 +232,8 @@
|
|
|
|
|
|
|
|
|
|
if (tabName == "계약서등록") {
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", !atLeastOne);
|
|
|
|
|
} else {
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Apply.toDataset.selection($P.ctrl.dataset, element, bool);
|
|
|
|
|
@ -312,11 +314,9 @@
|
|
|
|
|
$P.setButton = (tabName) => {
|
|
|
|
|
// tab
|
|
|
|
|
if (tabName == "대상") {
|
|
|
|
|
$P.$findn("btnCreate").prop("disabled", false);
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", true);
|
|
|
|
|
} else if (tabName == "계약서등록") {
|
|
|
|
|
$P.$findn("btnCreate").prop("disabled", true);
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", false);
|
|
|
|
|
} else {
|
|
|
|
|
$P.$findn("btnCreate").prop("disabled", true);
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", true);
|
|
|
|
|
|