|
|
|
@ -141,21 +141,19 @@
|
|
|
|
|
<th class="sorting" style="width: 130.469px;">유효기간</th>
|
|
|
|
|
<th class="sorting" style="width: 200.469px;">최소 유통단위 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 180.469px;">낱개 단위 수량</th>
|
|
|
|
|
<th class="sorting" style="width: 130.469px;">폐기 수량</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbody--${pageName}Detail">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}Row--${pageName}Detail">
|
|
|
|
|
<tr data-key="DSCDMNG_SN">
|
|
|
|
|
<td {onclick}="" {ondblclick}="">{ROW_NUM}</td>
|
|
|
|
|
<td {onclick}="" {ondblclick}="">{PRDUCT_NM}</td>
|
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PRDUCT_CD}</td>
|
|
|
|
|
<td class="text-end" {onclick}="" {ondblclick}="">{DSUSE_QY}</td>
|
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PRD_VALID_DE}</td>
|
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{MIN_DISTB_QY} {MIN_DISTB_UNIT}</td>
|
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PCE_QY} {PCE_UNIT}</td>
|
|
|
|
|
<td class="text-end" {onclick}="" {ondblclick}="">{DSUSE_QY} {PCE_UNIT}</td>
|
|
|
|
|
<td class="row-num text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
|
<td onclick="{onclick}" ondblclick="{ondblclick}">{PRDUCT_NM}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PRDUCT_CD}</td>
|
|
|
|
|
<td class="text-end" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_QY} {PCE_UNIT}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PRD_VALID_DE}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MIN_DISTB_QY} {MIN_DISTB_UNIT}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PCE_QY} {PCE_UNIT}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}Detail">
|
|
|
|
@ -321,7 +319,8 @@
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
let replacer = (str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("DSCDMNG_ID") + "');");
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("DSCDMNG_ID") + "');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "");
|
|
|
|
|
// .replace(/{ondblclick}/gi, "pageObject['${pageName}'].getTotalInfo('" + dataItem.getValue("DSCDMNG_ID") + "');");
|
|
|
|
|
|
|
|
|
|
let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML]
|
|
|
|
@ -523,6 +522,12 @@
|
|
|
|
|
|
|
|
|
|
// DataTables 스크롤 이벤트 생성
|
|
|
|
|
fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollDataList);
|
|
|
|
|
|
|
|
|
|
// 하단 테이블 행 번호 표시
|
|
|
|
|
fnMakeRowNumberingTable(document.getElementById('tbody--${pageName}Detail')
|
|
|
|
|
, (tr)=>{ return $(tr).find("td.row-num")[0]; }
|
|
|
|
|
, (marker, value)=>{ if(marker != null){ marker.innerHTML = value; } }
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|