feat: 업체조회 팝업 페이징 적용

업체조회 팝업 조건 유효성 체크 추가
      제품검색 팝업 페이징 적용
      제품조회 팝업 조건 유효성 체크 추가
main
Jonguk. Lim 4 weeks ago
parent 2b7b836b1f
commit 4f7bf7a7af

@ -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);
}
/**************************************************************************

Loading…
Cancel
Save