단속 자료 검사 메뉴에 비부과등록 기능 수정.

- 현재 화면에 따른 dataset 가져오기.
main
jjh 1 year ago
parent 64d42806d6
commit 49dfe159a5

@ -176,7 +176,7 @@ public class Excl01ServiceBean extends AbstractServiceBean implements Excl01Serv
for (int iLoop = 0; iLoop < excl01.getLevyExclIDs().length; iLoop++) { for (int iLoop = 0; iLoop < excl01.getLevyExclIDs().length; iLoop++) {
levyExclID = excl01.getLevyExclIDs()[iLoop]; levyExclID = excl01.getLevyExclIDs()[iLoop];
// 부과제외(TB_LEVY_EXCL) 자료 조회 // 부과제외(TB_LEVY_EXCL) + 단속(TB_CRDN) 자료 조회
infoCrdnSttsCd = excl01Bean.getLevyExclusionInfo(new Excl01Query().setLevyExclId(levyExclID)); infoCrdnSttsCd = excl01Bean.getLevyExclusionInfo(new Excl01Query().setLevyExclId(levyExclID));
// 단속 상태 이력(TB_CRDN_STTS_HSTRY) 대장에서 부과제외 자료 조회 // 단속 상태 이력(TB_CRDN_STTS_HSTRY) 대장에서 부과제외 자료 조회

@ -589,9 +589,17 @@ $(document).ready(function(){
} }
$P.openLevyExclPop = (levyExclSeCd) => { $P.openLevyExclPop = (levyExclSeCd) => {
let info = $P.photoInspectionControl.dataset.getCurrent("item"); let info;
// info 가 없다면.. return if ($P.currentDisplay == "photoInspection") {
info = $P.photoInspectionControl.dataset.getCurrent("item");
} else if ($P.currentDisplay == "sameVehicleInspection") {
info = $P.sameVehicleControl.sub.dataset.getCurrent("item");
} else {
return;
}
// 선택된 자료가 없다면.. return
if (info == undefined || info == "") { if (info == undefined || info == "") {
return; return;
} }

@ -12,22 +12,27 @@
<input type="hidden" id="levyExclId--${pageName}" name="levyExclId" data-map="LEVY_EXCL_ID" /> <input type="hidden" id="levyExclId--${pageName}" name="levyExclId" data-map="LEVY_EXCL_ID" />
<div class="row g-1"> <div class="row g-1">
<!-- 차량번호 -->
<div class="col-md-12">
<label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label>
<input type="text" class="form-control w-px-120" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" readonly />
</div>
<!-- 부과제외 구분 --> <!-- 부과제외 구분 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="levyExclSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">처리 구분</label> <label for="levyExclSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외 구분</label>
<input type="text" class="form-control" id="levyExclSeNm--${pageName}" readonly /> <input type="text" class="form-control w-px-120" id="levyExclSeNm--${pageName}" readonly />
<input type="hidden" id="levyExclSeCd--${pageName}" name="levyExclSeCd" data-map="LEVY_EXCL_SE_CD" /> <input type="hidden" id="levyExclSeCd--${pageName}" name="levyExclSeCd" data-map="LEVY_EXCL_SE_CD" />
</div> </div>
<!-- 부과제외 일자 --> <!-- 부과제외 일자 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="levyExclYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">처리 일자</label> <label for="levyExclYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외 일자</label>
<input type="text" class="form-control form-date" id="levyExclYmd--${pageName}" name="levyExclYmd" data-map="LEVY_EXCL_YMD" <input type="text" class="form-control form-date" id="levyExclYmd--${pageName}" name="levyExclYmd" data-map="LEVY_EXCL_YMD"
data-fmt-type="day" title="날짜 선택" required /> data-fmt-type="day" title="날짜 선택" required />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div> </div>
<!-- 부과제외 사유 --> <!-- 부과제외 사유 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="levyExclRsnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">처리 사유</label> <label for="levyExclRsnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외 사유</label>
<select class="form-select" id="levyExclRsnCd--${pageName}" name="levyExclRsnCd" data-map="LEVY_EXCL_RSN_CD" required> <select class="form-select" id="levyExclRsnCd--${pageName}" name="levyExclRsnCd" data-map="LEVY_EXCL_RSN_CD" required>
<option value="">선택하세요</option> <option value="">선택하세요</option>
<c:forEach items="${FIM022List}" var="item"> <c:forEach items="${FIM022List}" var="item">

Loading…
Cancel
Save