Compare commits

...

4 Commits

@ -33,6 +33,10 @@
<div class="col-md-4"> <div class="col-md-4">
<label for="dsusePrvNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">폐기사유</label> <label for="dsusePrvNm--${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="dsusePrvNm--${pageName}" name="dsusePrvNm" data-map="dsusePrvNm" readonly> <input type="text" class="form-control w-60" id="dsusePrvNm--${pageName}" name="dsusePrvNm" data-map="dsusePrvNm" readonly>
</div>
<div id="divDsuseAcdtDe" class="col-md-4">
<label for="dsusePrvCd--${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="dsuseAcdtDe--${pageName}" name="dsuseAcdtDe" data-map="dsuseAcdtDe" readonly>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="rndDtlRptCnt--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">보고건수</label> <label for="rndDtlRptCnt--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">보고건수</label>
@ -158,6 +162,7 @@
, formats: { , formats: {
hdrDe: dateFormat hdrDe: dateFormat
, dsuseDe: dateFormat , dsuseDe: dateFormat
, dsuseAcdtDe: dateFormat
} }
}); });
// $P.control 설정 // $P.control 설정

@ -92,6 +92,7 @@
<th class="cmn" style="width: 120.469px;">폐기일자</th> <th class="cmn" style="width: 120.469px;">폐기일자</th>
<th class="cmn" style="width: 90px;">폐기건수</th> <th class="cmn" style="width: 90px;">폐기건수</th>
<th class="cmn" style="width: 180.469px;">폐기사유</th> <th class="cmn" style="width: 180.469px;">폐기사유</th>
<th class="cmn" style="width: 120.141px;">사고발생일</th>
<th class="cmn" style="width: 150px;">폐기구분</th> <th class="cmn" style="width: 150px;">폐기구분</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>
@ -110,6 +111,7 @@
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_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}">{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_ACDT_DE}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSUSE_SE_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>
@ -212,6 +214,7 @@
, formats: { , formats: {
HDR_DE: dateFormat HDR_DE: dateFormat
, DSUSE_DE: dateFormat , DSUSE_DE: dateFormat
, DSUSE_ACDT_DE: dateFormat
} }
}); });
// $P.control 설정 // $P.control 설정
@ -300,6 +303,7 @@
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,
dsuseAcdtDe: row.DSUSE_ACDT_DE
}; };
if (isDtl && row.PRGRS_STTS_CD != "01") { if (isDtl && row.PRGRS_STTS_CD != "01") {
@ -309,7 +313,8 @@
dsuseDe: row.DSUSE_DE.substring(0, 4) + "-" + row.DSUSE_DE.substring(4, 6) + "-" + row.DSUSE_DE.substring(6), dsuseDe: row.DSUSE_DE.substring(0, 4) + "-" + row.DSUSE_DE.substring(4, 6) + "-" + row.DSUSE_DE.substring(6),
dsuseSeCd: row.DSUSE_SE_CD, dsuseSeCd: row.DSUSE_SE_CD,
dsuseMthCd: row.DSUSE_MTH_CD, dsuseMthCd: row.DSUSE_MTH_CD,
dsuseLoc: row.DSUSE_LOC dsuseLoc: row.DSUSE_LOC,
dsuseAcdtDe: row.DSUSE_ACDT_DE
} }
} }

@ -264,7 +264,7 @@
$("#tbody--${pageName}").setCurrentRow(key); $("#tbody--${pageName}").setCurrentRow(key);
$("#btnSearch3--${pageName}").prop("disabled", false); $("#btnSearch3--${pageName}").prop("disabled", false);
$P.fnDetailSearchList("N"); $P.fnDetailSearchList("Y");
} }
// 현재 선택 자료 변경 이벤트 // 현재 선택 자료 변경 이벤트

Loading…
Cancel
Save