feat: 제품입력 - barcode 입력

dev
Jonguk. Lim 4 months ago
parent 1078999743
commit 6cd4418024

@ -61,12 +61,13 @@
<input type="text" class="form-control w-60" id="prductNm--${pageName}" name="prductNm" data-map="prductNm" readonly> <input type="text" class="form-control w-60" id="prductNm--${pageName}" name="prductNm" data-map="prductNm" readonly>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="prductCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품(바)코드</label> <label for="prductCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">제품코드</label>
<input type="text" class="form-control w-60" id="prductCd--${pageName}" name="prductCd" data-map="prductCd" readonly> <input type="text" class="form-control w-60" id="prductCd--${pageName}" name="prductCd" data-map="prductCd" readonly>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<button type="button" class="btn btn-search w-px-120" id="btnProductSearch--${pageName}" title="검색">제품 검색</button> <button type="button" class="btn btn-search w-px-120" id="btnProductSearch--${pageName}" title="검색">제품 검색</button>
<button type="button" class="btn btn-search w-px-120" id="btnProductBarcodeSearch--${pageName}" title="검색">바코드 검색</button> <%-- FIXME: 바코드 사용시 검색 활성화 처리 --%>
<button style="display: none" type="button" class="btn btn-search w-px-120" id="btnProductBarcodeSearch--${pageName}" title="바코드 검색">바코드 검색</button>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="prdValidDe--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">유효기간</label> <label for="prdValidDe--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">유효기간</label>
@ -565,6 +566,7 @@
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// barcode 입력 처리 // barcode 입력 처리
//-------------------------------------------------------------------------
$("#btnProductBarcodeSearch--${pageName}").on("click", () => { $("#btnProductBarcodeSearch--${pageName}").on("click", () => {
$("#prductCd--${pageName}").prop("readonly", false); $("#prductCd--${pageName}").prop("readonly", false);
$("#prductCd--${pageName}").val(""); $("#prductCd--${pageName}").val("");

Loading…
Cancel
Save