|
|
|
@ -64,15 +64,15 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="prdlstMstCd--${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="prdlstMstCd--${pageName}" name="mnfNo" data-map="prdlstMstCd" readonly>
|
|
|
|
|
<input type="text" class="form-control w-60" id="prdlstMstCd--${pageName}" name="mnfNo" data-map="mnfNo" readonly>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="prdlstMstCd--${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="prdlstMstCd--${pageName}" name="mnfSeq" data-map="prdlstMstCd" readonly>
|
|
|
|
|
<input type="text" class="form-control w-60" id="prdlstMstCd--${pageName}" name="mnfSeq" data-map="mnfSeq" readonly>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="rgsDt--${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="rgsDt--${pageName}" name="prdValidDe" data-map="rgsDt" readonly>
|
|
|
|
|
<input type="text" class="form-control w-60" id="rgsDt--${pageName}" name="prdValidDe" data-map="prdValidDe" readonly>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="prdMinDistbQy--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">최소 유통단위 수량</label>
|
|
|
|
@ -97,49 +97,51 @@
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--productList" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--productList"
|
|
|
|
|
data-by="by--productList" data-by-output="byOutput--productList" data-main-option="mainOption--productList" data-sub-option="subOption--productList">
|
|
|
|
|
<th style="width: 15.828px;text-align:center;" tabindex="0">No</th>
|
|
|
|
|
<th class="sorting sorting_asc" aria-sort="ascending" style="width: 223.719px;">제품명</th>
|
|
|
|
|
<th class="sorting" style="width: 146.156px;">제품코드</th>
|
|
|
|
|
<th class="sorting" style="width: 160.141px;">제품번호</th>
|
|
|
|
|
<th class="sorting" style="width: 160.141px;">제조 번호</th>
|
|
|
|
|
<th class="sorting" style="width: 160.141px;">제조 일련 번호</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">유효기간</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">최소 유통단위 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">최소 유통단위</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">낱개 단위 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">낱개 단위</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">폐기 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">이미지</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbody--productList">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="productListRow--productList">
|
|
|
|
|
<tr data-key="{prductCd}">
|
|
|
|
|
<td style="text-align:center;"><input value="prductCd" onchange="userControl.select('{prductCd}', this.checked);" type="checkbox" class="form-check-input"></td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prductCd}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prductNm}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{mnfNo}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{mnfSeq}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prdValidDe}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{minDistbQy}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{minDistbUnit}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{pceQy}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{pceUnit}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{dsuseQy}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}=""></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="productListNotFound--productList">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="13" class="dataTables_empty text-center">제품 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
<form id="productList--${pageName}" name="productList">
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--productList" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--productList"
|
|
|
|
|
data-by="by--productList" data-by-output="byOutput--productList" data-main-option="mainOption--productList" data-sub-option="subOption--productList">
|
|
|
|
|
<th style="width: 15.828px;text-align:center;" tabindex="0">No</th>
|
|
|
|
|
<th class="sorting sorting_asc" aria-sort="ascending" style="width: 223.719px;">제품명</th>
|
|
|
|
|
<th class="sorting" style="width: 146.156px;">제품코드</th>
|
|
|
|
|
<th class="sorting" style="width: 160.141px;">제품번호</th>
|
|
|
|
|
<th class="sorting" style="width: 160.141px;">제조 번호</th>
|
|
|
|
|
<th class="sorting" style="width: 160.141px;">제조 일련 번호</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">유효기간</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">최소 유통단위 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">최소 유통단위</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">낱개 단위 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">낱개 단위</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">폐기 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 230.469px;">이미지</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbody--productList">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="productListRow--productList">
|
|
|
|
|
<tr data-key="{prductCd}">
|
|
|
|
|
<td style="text-align:center;"><input value="prductCd" onchange="userControl.select('{prductCd}', this.checked);" type="checkbox" class="form-check-input"></td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prductCd}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prductNm}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{mnfNo}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{mnfSeq}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{prdValidDe}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{minDistbQy}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{minDistbUnit}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{pceQy}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{pceUnit}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}="">{dsuseQy}</td>
|
|
|
|
|
<td class="cmn text-center" {onclick}="" {ondblclick}=""></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="productListNotFound--productList">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="13" class="dataTables_empty text-center">제품 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
<!-- 업무 버튼 표시 -->
|
|
|
|
|
<div>
|
|
|
|
@ -286,7 +288,7 @@
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.productList.onDataSetChange = item => {
|
|
|
|
|
$P.productList.onDatasetChange = item => {
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
let empty = $P.productListList.empty;
|
|
|
|
@ -393,7 +395,7 @@
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|
$P.initForm = () => {
|
|
|
|
|
// Dialog 마우스로 드래그 할 수 있도록 설정.
|
|
|
|
|
fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog"));
|
|
|
|
|
//fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|