|
|
|
@ -10,12 +10,12 @@
|
|
|
|
|
<div class="container-search">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<div class="row my-0 mx-1 g-0" style="align-items: baseline">
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<div class="col-md-9">
|
|
|
|
|
<label for="ProductNm--${pageName}" class="w-px-90 bg-lighter pe-2 col-form-label text-sm-end">제품명/코드</label>
|
|
|
|
|
<input type="text" class="form-control w-px-100" id="productNm--${pageName}" name="schProductNm" >
|
|
|
|
|
<input type="text" class="form-control w-px-120" id="productCd--${pageName}" name="schProductCd" >
|
|
|
|
|
<input type="text" class="form-control w-px-100" id="productNm--${pageName}" name="schProductNm">
|
|
|
|
|
<input type="text" class="form-control w-px-150" id="productCd--${pageName}" name="schProductCd" maxlength="13" oninput="this.value = this.value.slice(0, 13)">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
<button type="button" class="btn btn-search w-px-50" id="btnSearch--${pageName}" title="검색">NIMS 검색</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -80,18 +80,18 @@
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<div class="row my-0 mx-1 g-0" style="align-items: baseline">
|
|
|
|
|
<div class="col-md-5">
|
|
|
|
|
<select id="schOpt--${pageName}" name="schOpt" class="form-selectxit">
|
|
|
|
|
<select id="schOpt--${pageName}" name="schOpt" class="form-select" style="width: 106px !important;">
|
|
|
|
|
<option value="1">제조번호</option>
|
|
|
|
|
<option value="2">일련번호</option>
|
|
|
|
|
</select>
|
|
|
|
|
<input type="text" class="form-control w-60" id="schText--${pageName}" name="schText" >
|
|
|
|
|
<input type="text" class="form-control w-px-100" id="schText--${pageName}" name="schText" >
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-5">
|
|
|
|
|
<label for="schPrdValidDe--${pageName}" class="w-px-90 bg-lighter pe-2 col-form-label text-sm-end">유효기간</label>
|
|
|
|
|
<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="btnSearchDtl--${pageName}" title="검색">NIMS 검색</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-60" id="btnSearchDtl--${pageName}" title="검색">NIMS 검색</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -383,6 +383,9 @@
|
|
|
|
|
|
|
|
|
|
//그리드(우)조회(새로 조회)
|
|
|
|
|
$P.fnDetailSearchList = () => {
|
|
|
|
|
if(!$P.control.dataset.getCurrent()?.prductCd){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
let bsshCd = '${bsshCd}';
|
|
|
|
|
if(!$('#chkDtlBsshCd--${pageName}').is(":checked")){
|
|
|
|
|
bsshCd = '';
|
|
|
|
@ -440,6 +443,8 @@
|
|
|
|
|
$("#btnSave--${pageName}").on("click", () => $P.fnSave()); // 저장
|
|
|
|
|
$("#btnSearch--${pageName}").on("click", () => $P.fnSearchList());
|
|
|
|
|
$("#btnSearchDtl--${pageName}").on("click", () => $P.fnDetailSearchList());
|
|
|
|
|
$("#chkDtlBsshCd--${pageName}").on("change", () => $P.fnDetailSearchList());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList);
|
|
|
|
|
|
|
|
|
|