fit : 오타수정 및 항목수정.

dev
Leeyh1121 5 months ago
parent 1aa87fe826
commit 228801bec1

@ -295,7 +295,7 @@
, title : dialogTitle , title : dialogTitle
, content : resp , content : resp
, size : $P.control.infoSize , size : $P.control.infoSize
, onClose : () => { $P.refreshList(); } , onClose : () => { $P.RefreshList(); }
}); });
} }
}); });

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

@ -294,7 +294,7 @@
, title : dialogTitle , title : dialogTitle
, content : resp , content : resp
, size : $P.control.infoSize , size : $P.control.infoSize
, onClose : () => { $P.refreshList(); } , onClose : () => { $P.RefreshList(); }
}); });
} }
}); });

@ -35,7 +35,7 @@
<div class="table-responsive ox-scroll oy-scroll h-px-500" id="table-responsive--${pageName}"> <div class="table-responsive ox-scroll oy-scroll h-px-500" id="table-responsive--${pageName}">
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info"> <table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
<thead> <thead>
<tr><th style="width: 15.828px;text-align:center;" tabindex="0">No</th> <tr>
<th class="sorting" style="width: 146.156px;">제품코드</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: 160.141px;">마약/향정 구분</th>
@ -244,8 +244,8 @@
"pg": "1", "pg": "1",
"ymd": "", "ymd": "",
"fg2": "", "fg2": "",
//"p": $P.formFields.get().schProductCd, "p": $P.formFields.get().schProductCd,
"p": '8806416009017', // "p": '8806416009017',
"pn": $P.formFields.get().schProductNm, "pn": $P.formFields.get().schProductNm,
"dbSkipYn": "N", "dbSkipYn": "N",
"userId": "suji" "userId": "suji"

Loading…
Cancel
Save