|
|
|
@ -83,7 +83,7 @@
|
|
|
|
|
<input type="text" class="form-control w-50" id="schPrdValidDe--${pageName}" name="schPrdValidDe" data-fmt-type="day" data-map="schPrdValidDe" autocomplete="off" title="유효기간" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-2">
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-90" id="btnSearch3--${pageName}" title="검색">NIMS 검색</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-90" id="btnSearchDtl--${pageName}" title="검색">NIMS 검색</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -250,14 +250,14 @@
|
|
|
|
|
$P.control.onCurrentChange = item => {
|
|
|
|
|
if (!item) {
|
|
|
|
|
$P.seqInfoControl.setData([]);
|
|
|
|
|
$("#btnSearch3--${pageName}").prop("disabled", true);
|
|
|
|
|
$("#btnSearchDtl--${pageName}").prop("disabled", true);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let key = item.data.keyCnt;
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
|
|
|
|
|
|
$("#btnSearch3--${pageName}").prop("disabled", false);
|
|
|
|
|
$("#btnSearchDtl--${pageName}").prop("disabled", false);
|
|
|
|
|
$P.fnDetailSearchList();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -418,7 +418,7 @@
|
|
|
|
|
// 버튼 이벤트
|
|
|
|
|
$("#btnSave--${pageName}").on("click", () => $P.fnSave()); // 저장
|
|
|
|
|
$("#btnSearch--${pageName}").on("click", () => $P.fnSearchList());
|
|
|
|
|
$("#btnSearch3--${pageName}").on("click", () => $P.fnDetailSearchList());
|
|
|
|
|
$("#btnSearchDtl--${pageName}").on("click", () => $P.fnDetailSearchList());
|
|
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList);
|
|
|
|
|
|
|
|
|
@ -431,7 +431,7 @@
|
|
|
|
|
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|
$P.initForm = () => {
|
|
|
|
|
$("#btnSearch3--${pageName}").prop("disabled", true);
|
|
|
|
|
$("#btnSearchDtl--${pageName}").prop("disabled", true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|