|
|
|
@ -134,13 +134,25 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="d-flex flex-row p-3 justify-content-between">
|
|
|
|
|
<label id="${infoPrefix}DetailPaging--${pageName}PagingInfo" class="dataTables_info" role="status" aria-live="polite"></label>
|
|
|
|
|
<ul id="${infoPrefix}DetailPaging--${pageName}" class="pagination pagination-primary" style="display: none;">
|
|
|
|
|
</ul>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<input type="checkbox" id="chkDtlBsshCd--${pageName}" name="chkDtlBsshCd" title="업체코드적용" style="align-items: baseline"/> <strong>신규 API 업체코드 적용</strong>
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-80" id="btnSave--${pageName}" title="선택">선택</button>
|
|
|
|
|
</span>
|
|
|
|
|
<ul id="${infoPrefix}DetailPaging--${pageName}" class="pagination pagination-primary" style="display: none;"></ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<div>
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end" for="schSttsCd--${pageName}">제조번호 조회 구분</label>
|
|
|
|
|
|
|
|
|
|
<div class="form-check form-check-inline mt-3">
|
|
|
|
|
<input id="bc" name="schMnfNo" value="bc" type="radio" class="form-check-input"/>
|
|
|
|
|
<label class="form-check-label" for="bc">업체</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
|
<input id="nims" name="schMnfNo" value="nims" type="radio" class="form-check-input"/>
|
|
|
|
|
<label class="form-check-label" for="nims">NIMS</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-80" id="btnSave--${pageName}" title="선택">선택</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -383,14 +395,16 @@
|
|
|
|
|
|
|
|
|
|
//그리드(우)조회(새로 조회)
|
|
|
|
|
$P.fnDetailSearchList = () => {
|
|
|
|
|
|
|
|
|
|
if(!$P.control.dataset.getCurrent()?.prductCd){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let bsshCd = '${bsshCd}';
|
|
|
|
|
if(!$('#chkDtlBsshCd--${pageName}').is(":checked")){
|
|
|
|
|
if($('input:radio[name="schMnfNo"]:checked').val() === 'nims'){
|
|
|
|
|
bsshCd = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.seqInfoControl.query = {
|
|
|
|
|
fg: $('#schOpt--productPopup').val(), // 1-제조번호, 2-시리얼번호
|
|
|
|
|
pg: 1,
|
|
|
|
@ -443,8 +457,7 @@
|
|
|
|
|
$("#btnSave--${pageName}").on("click", () => $P.fnSave()); // 저장
|
|
|
|
|
$("#btnSearch--${pageName}").on("click", () => $P.fnSearchList());
|
|
|
|
|
$("#btnSearchDtl--${pageName}").on("click", () => $P.fnDetailSearchList());
|
|
|
|
|
$("#chkDtlBsshCd--${pageName}").on("change", () => $P.fnDetailSearchList());
|
|
|
|
|
|
|
|
|
|
$('input:radio[name="schMnfNo"]').on("change", () => $P.fnDetailSearchList());
|
|
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList);
|
|
|
|
|
|
|
|
|
@ -467,6 +480,7 @@
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|
$P.initForm = () => {
|
|
|
|
|
$("#btnSearchDtl--${pageName}").prop("disabled", true);
|
|
|
|
|
$('input:radio[name="schMnfNo"]').filter('[value="bc"]').prop('checked', true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|