|
|
|
@ -352,7 +352,7 @@
|
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
, onClose: () => {
|
|
|
|
|
if (resp.saved) { ctrl.reload({ all: true }); }
|
|
|
|
|
if (resp.saved) { $P.ctrl.reload({ all: true }); }
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -375,7 +375,7 @@
|
|
|
|
|
, init: () => { AppSupport.setDialogZindex(); }
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
, onClose: () => {
|
|
|
|
|
if (resp.saved) { ctrl.reload({ all: true }); }
|
|
|
|
|
if (resp.saved) { $P.ctrl.reload({ all: true }); }
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -395,7 +395,6 @@
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", false);
|
|
|
|
|
$P.$findn("btnCreateAprvDmnd").prop("disabled", false);
|
|
|
|
|
$P.$findn("btnRemoveAprvDmnd").prop("disabled", true);
|
|
|
|
|
|
|
|
|
|
} else if (tabName == "승인요청") {
|
|
|
|
|
$P.$findn("btnCreate").prop("disabled", true);
|
|
|
|
|
$P.$findn("btnRemove").prop("disabled", true);
|
|
|
|
@ -585,7 +584,7 @@
|
|
|
|
|
, lsctIds: selected.map(info => info.LSCT_ID).join(",")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.ctrl.createAprvDmnd(params);
|
|
|
|
|
$P.createAprvDmnd(params);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -611,7 +610,7 @@
|
|
|
|
|
, lsctIds: selected.map(info => info.LSCT_ID).join(",")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.ctrl.removeAprvDmnd(params);
|
|
|
|
|
$P.removeAprvDmnd(params);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -632,7 +631,6 @@
|
|
|
|
|
$P.$findn("btnCreateAprvDmnd").on("click", () => { $P.fnCreateAprvDmnd(); }); // 승인 요청
|
|
|
|
|
$P.$findn("btnRemoveAprvDmnd").on("click", () => { $P.fnRemoveAprvDmnd(); }); // 승인 요청 취소
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables width 변경 조정
|
|
|
|
|
Componentization.fnMakeResizableTable($P.findn("tableRspns"));
|
|
|
|
|
|
|
|
|
|