|
|
@ -28,6 +28,7 @@
|
|
|
|
<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 class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 70px;">No.</th>
|
|
|
|
<th class="sorting" style="width: 146.156px;">제품코드</th>
|
|
|
|
<th class="sorting" style="width: 146.156px;">제품코드</th>
|
|
|
|
<th class="sorting" style="width: 350.141px;">제품명</th>
|
|
|
|
<th class="sorting" style="width: 350.141px;">제품명</th>
|
|
|
|
<th class="sorting" style="width: 120.469px;">유통단위</th>
|
|
|
|
<th class="sorting" style="width: 120.469px;">유통단위</th>
|
|
|
@ -41,6 +42,7 @@
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{keyCnt}">
|
|
|
|
<tr data-key="{keyCnt}">
|
|
|
|
|
|
|
|
<td class="row-num text-end" onclick="{onclick}" ondblclick="{ondblclick}"></td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prductCd}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prductCd}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{prductNm}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{prductNm}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prdMinDistbQy} {stdPackngStleNm}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prdMinDistbQy} {stdPackngStleNm}</td>
|
|
|
@ -103,6 +105,7 @@
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_1--${pageName}" aria-describedby="DataTables_Table_1_info">
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_1--${pageName}" aria-describedby="DataTables_Table_1_info">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 70px;">No.</th>
|
|
|
|
<th class="sorting" style="width: 146px;">제품코드</th>
|
|
|
|
<th class="sorting" style="width: 146px;">제품코드</th>
|
|
|
|
<th class="sorting" style="width: 110px;">유효기간</th>
|
|
|
|
<th class="sorting" style="width: 110px;">유효기간</th>
|
|
|
|
<th class="sorting" style="width: 155px;">제조번호</th>
|
|
|
|
<th class="sorting" style="width: 155px;">제조번호</th>
|
|
|
@ -113,6 +116,7 @@
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}Detail">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}Detail">
|
|
|
|
<tr data-key="{keyCnt}">
|
|
|
|
<tr data-key="{keyCnt}">
|
|
|
|
|
|
|
|
<td class="row-num text-end" onclick="{onclick}" ondblclick="{ondblclick}"></td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prductCd}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prductCd}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prdValidDe}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{prdValidDe}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{mnfNo}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{mnfNo}</td>
|
|
|
@ -343,12 +347,12 @@
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($P.formFields.get().schProductNm.length !== 0 && $P.formFields.get().schProductNm.length < 2){
|
|
|
|
// if($P.formFields.get().schProductNm.length !== 0 && $P.formFields.get().schProductNm.length < 2){
|
|
|
|
dialog.alert({
|
|
|
|
// dialog.alert({
|
|
|
|
content: "상품명은 2자 이상으로 조회해 주세요."
|
|
|
|
// content: "상품명은 2자 이상으로 조회해 주세요."
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
return false;
|
|
|
|
// return false;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
// FIXME:: NIMS API 개발 완료후 적용
|
|
|
|
// FIXME:: NIMS API 개발 완료후 적용
|
|
|
|
let bsshCd = '${bsshCd}';
|
|
|
|
let bsshCd = '${bsshCd}';
|
|
|
@ -440,6 +444,15 @@
|
|
|
|
$("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList);
|
|
|
|
$("#frmSearch--${pageName} input").onEnterPress($P.fnSearchList);
|
|
|
|
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName}Detail input").onEnterPress($P.fnDetailSearchList);
|
|
|
|
$("#frmSearch--${pageName}Detail input").onEnterPress($P.fnDetailSearchList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Componentization.fnMakeRowNumberingTable(document.getElementById('tbody--${pageName}')
|
|
|
|
|
|
|
|
, (tr)=>{ return $(tr).find("td.row-num")[0]; }
|
|
|
|
|
|
|
|
, (marker, value)=>{ if(marker != null){ marker.innerHTML = value; } }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
Componentization.fnMakeRowNumberingTable(document.getElementById('tbody--${pageName}Detail')
|
|
|
|
|
|
|
|
, (tr)=>{ return $(tr).find("td.row-num")[0]; }
|
|
|
|
|
|
|
|
, (marker, value)=>{ if(marker != null){ marker.innerHTML = value; } }
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Componentization.fnMakeScrollableTable($("#table-responsive-0--${pageName}")[0], $P.scrollList);
|
|
|
|
Componentization.fnMakeScrollableTable($("#table-responsive-0--${pageName}")[0], $P.scrollList);
|
|
|
|