|
|
@ -83,16 +83,16 @@
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
<th class="cmn" style="width: 72px;">No.</th>
|
|
|
|
<th class="cmn" style="width: 72px;">No.</th>
|
|
|
|
<th class="cmn" style="width: 130.141px;">취급일자</th>
|
|
|
|
<th class="cmn" style="width: 130.141px;">폐기관리번호</th>
|
|
|
|
<th class="cmn" style="width: 130.141px;">관리번호</th>
|
|
|
|
<th class="cmn" style="width: 170.469px;">처리상태</th>
|
|
|
|
<th class="cmn" style="width: 230.469px;">업체명</th>
|
|
|
|
<th class="cmn" style="width: 250.469px;">업체명</th>
|
|
|
|
<th class="cmn" style="width: 100px;">보고건수</th>
|
|
|
|
<th class="cmn" style="width: 120.141px;">취급일자</th>
|
|
|
|
<th class="cmn" style="width: 200.469px;">처리상태</th>
|
|
|
|
<th class="cmn" style="width: 120.469px;">폐기일자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 90px;">폐기건수</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 180.469px;">폐기사유</th>
|
|
|
|
<th class="cmn" style="width: 150px;">폐기구분</th>
|
|
|
|
<th class="cmn" style="width: 150px;">폐기구분</th>
|
|
|
|
<th class="cmn" style="width: 200.469px;">폐기사유</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 150px;">폐기방법</th>
|
|
|
|
<th class="cmn" style="width: 150px;">폐기방법</th>
|
|
|
|
<th class="cmn" style="width: 200.469px;">폐기장소</th>
|
|
|
|
<th class="cmn" style="width: 200.469px;">폐기장소</th>
|
|
|
|
<th class="cmn" style="width: 130.469px;">폐기일자</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
@ -100,16 +100,16 @@
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{DSCDMNG_ID}">
|
|
|
|
<tr data-key="{DSCDMNG_ID}">
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{HDR_DE}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSCDMNG_ID}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSCDMNG_ID}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PRGRS_STTS_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BSSH_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BSSH_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{HDR_DE}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_DE}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RND_DTL_RPT_CNT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RND_DTL_RPT_CNT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PRGRS_STTS_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_SE_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_PRV_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_PRV_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_MTH_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_MTH_NM}</td>
|
|
|
|
<td class="cmn" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_LOC}</td>
|
|
|
|
<td class="cmn" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_LOC}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_DE}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
@ -141,9 +141,8 @@
|
|
|
|
<th class="sorting" style="width: 146.156px;">제품코드</th>
|
|
|
|
<th class="sorting" style="width: 146.156px;">제품코드</th>
|
|
|
|
<th class="sorting" style="width: 130.141px;">폐기수량</th>
|
|
|
|
<th class="sorting" style="width: 130.141px;">폐기수량</th>
|
|
|
|
<th class="sorting" style="width: 130.469px;">유효기간</th>
|
|
|
|
<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: 230.469px;">낱개단위 수량</th>
|
|
|
|
<th class="sorting" style="width: 180.469px;">낱개단위 수량</th>
|
|
|
|
<th class="sorting" style="width: 130.469px;">폐기수량</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody id="tbody--${pageName}Detail">
|
|
|
|
<tbody id="tbody--${pageName}Detail">
|
|
|
@ -152,12 +151,11 @@
|
|
|
|
<tr data-key="DSCDMNG_SN">
|
|
|
|
<tr data-key="DSCDMNG_SN">
|
|
|
|
<td {onclick}="" {ondblclick}="">{ROW_NUM}</td>
|
|
|
|
<td {onclick}="" {ondblclick}="">{ROW_NUM}</td>
|
|
|
|
<td {onclick}="" {ondblclick}="">{PRDUCT_NM}</td>
|
|
|
|
<td {onclick}="" {ondblclick}="">{PRDUCT_NM}</td>
|
|
|
|
<td {onclick}="" {ondblclick}="">{PRDUCT_CD}</td>
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PRDUCT_CD}</td>
|
|
|
|
<td class="text-end" {onclick}="" {ondblclick}="">{DSUSE_QY}</td>
|
|
|
|
<td class="text-end" {onclick}="" {ondblclick}="">{DSUSE_QY} {PCE_UNIT}</td>
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PRD_VALID_DE}</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}="">{MIN_DISTB_QY} {MIN_DISTB_UNIT}</td>
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PCE_QY} {PCE_UNIT}</td>
|
|
|
|
<td class="text-center" {onclick}="" {ondblclick}="">{PCE_QY} {PCE_UNIT}</td>
|
|
|
|
<td class="text-end" {onclick}="" {ondblclick}="">{DSUSE_QY}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}Detail">
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}Detail">
|
|
|
@ -282,8 +280,7 @@
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 신청서 정보 dialog
|
|
|
|
// 신청서 정보 dialog
|
|
|
|
$P.control.getInfo = () => {
|
|
|
|
$P.control.getInfo = (isDtl) => {
|
|
|
|
debugger
|
|
|
|
|
|
|
|
let dialogTitle = "폐기 결과[통보] 등록";
|
|
|
|
let dialogTitle = "폐기 결과[통보] 등록";
|
|
|
|
let row = $P.control.dataset.getCurrent();
|
|
|
|
let row = $P.control.dataset.getCurrent();
|
|
|
|
if (typeof row == "undefined" || row == null || row == "") return;
|
|
|
|
if (typeof row == "undefined" || row == null || row == "") return;
|
|
|
@ -294,9 +291,20 @@
|
|
|
|
usrRptIdNo: row.USR_RPT_ID_NO,
|
|
|
|
usrRptIdNo: row.USR_RPT_ID_NO,
|
|
|
|
indutyNm: row.INDUTY_NM,
|
|
|
|
indutyNm: row.INDUTY_NM,
|
|
|
|
dsusePrvNm: row.DSUSE_PRV_NM,
|
|
|
|
dsusePrvNm: row.DSUSE_PRV_NM,
|
|
|
|
rndDtlRptCnt: row.RND_DTL_RPT_CNT
|
|
|
|
rndDtlRptCnt: row.RND_DTL_RPT_CNT,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isDtl) {
|
|
|
|
|
|
|
|
params = {
|
|
|
|
|
|
|
|
...params,
|
|
|
|
|
|
|
|
hdrDe: row.HDR_DE,
|
|
|
|
|
|
|
|
dsuseDe: row.DSUSE_DE,
|
|
|
|
|
|
|
|
dsuseSeCd: row.DSUSE_SE_CD,
|
|
|
|
|
|
|
|
dsuseMthCd: row.DSUSE_MTH_CD,
|
|
|
|
|
|
|
|
dsuseLoc: row.DSUSE_LOC
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url : wctx.url("/adds/nims/dsuseMgtRslt-info.do")
|
|
|
|
url : wctx.url("/adds/nims/dsuseMgtRslt-info.do")
|
|
|
|
, data : params
|
|
|
|
, data : params
|
|
|
@ -333,7 +341,7 @@
|
|
|
|
//
|
|
|
|
//
|
|
|
|
let replacer = (str, dataItem) => str
|
|
|
|
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, "pageObject['${pageName}'].control.getInfo()");
|
|
|
|
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].control.getInfo(" + true +")");
|
|
|
|
|
|
|
|
|
|
|
|
let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML]
|
|
|
|
let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML]
|
|
|
|
: ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer);
|
|
|
|
: ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer);
|
|
|
|