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