|
|
|
|
@ -65,11 +65,17 @@ function newRent02010Control(pageName, doctx="[data-doctx='rent02010']") {
|
|
|
|
|
|
|
|
|
|
// dataTables(그리드)에 페이지 표시 pagingInfo
|
|
|
|
|
ctrl.pagingSupport.setPagingInfo(obj);
|
|
|
|
|
|
|
|
|
|
let tabName = $(ctrl.find("[name='tabMain']")).find("button.active").text().trim();
|
|
|
|
|
if (tabName == "대상") {
|
|
|
|
|
$(ctrl.find("[name='btnCreate']")).prop("disabled", empty);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
|
ctrl.onCurrentChange = (item) => {
|
|
|
|
|
Apply.fromDataset.currentRow(ctrl.dataset, item, ctrl.find("[name='tbodyList']"));
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 선택(체크) 변경 이벤트
|
|
|
|
|
|