|
|
@ -134,10 +134,22 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="d-flex flex-row p-3 justify-content-between">
|
|
|
|
<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>
|
|
|
|
<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 id="${infoPrefix}DetailPaging--${pageName}" class="pagination pagination-primary" style="display: none;"></ul>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<input type="checkbox" id="chkDtlBsshCd--${pageName}" name="chkDtlBsshCd" title="업체코드적용" style="align-items: baseline"/> <strong>신규 API 업체코드 적용</strong>
|
|
|
|
<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>
|
|
|
|
<button type="button" class="btn btn-primary w-px-80" id="btnSave--${pageName}" title="선택">선택</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -383,11 +395,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
//그리드(우)조회(새로 조회)
|
|
|
|
//그리드(우)조회(새로 조회)
|
|
|
|
$P.fnDetailSearchList = () => {
|
|
|
|
$P.fnDetailSearchList = () => {
|
|
|
|
|
|
|
|
|
|
|
|
if(!$P.control.dataset.getCurrent()?.prductCd){
|
|
|
|
if(!$P.control.dataset.getCurrent()?.prductCd){
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let bsshCd = '${bsshCd}';
|
|
|
|
let bsshCd = '${bsshCd}';
|
|
|
|
if(!$('#chkDtlBsshCd--${pageName}').is(":checked")){
|
|
|
|
if($('input:radio[name="schMnfNo"]:checked').val() === 'nims'){
|
|
|
|
bsshCd = '';
|
|
|
|
bsshCd = '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -443,8 +457,7 @@
|
|
|
|
$("#btnSave--${pageName}").on("click", () => $P.fnSave()); // 저장
|
|
|
|
$("#btnSave--${pageName}").on("click", () => $P.fnSave()); // 저장
|
|
|
|
$("#btnSearch--${pageName}").on("click", () => $P.fnSearchList());
|
|
|
|
$("#btnSearch--${pageName}").on("click", () => $P.fnSearchList());
|
|
|
|
$("#btnSearchDtl--${pageName}").on("click", () => $P.fnDetailSearchList());
|
|
|
|
$("#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);
|
|
|
|
$("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList);
|
|
|
|
|
|
|
|
|
|
|
@ -467,6 +480,7 @@
|
|
|
|
// 초기 화면 설정
|
|
|
|
// 초기 화면 설정
|
|
|
|
$P.initForm = () => {
|
|
|
|
$P.initForm = () => {
|
|
|
|
$("#btnSearchDtl--${pageName}").prop("disabled", true);
|
|
|
|
$("#btnSearchDtl--${pageName}").prop("disabled", true);
|
|
|
|
|
|
|
|
$('input:radio[name="schMnfNo"]').filter('[value="bc"]').prop('checked', true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|