|
|
|
|
@ -29,8 +29,7 @@
|
|
|
|
|
<input type="text" id="crdnYr" name="crdnYr" class="input" value="${dateUtil:getCurrentDateTime('yyyy')}" readonly />
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
<input type="text" id="crdnYr" name="crdnYr" class="input"
|
|
|
|
|
value="${data.crdnYr}" readonly/>
|
|
|
|
|
<input type="text" id="crdnYr" name="crdnYr" class="input" value="${data.crdnYr}" readonly />
|
|
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</td>
|
|
|
|
|
@ -41,8 +40,7 @@
|
|
|
|
|
자동채번
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
<input type="text" id="crdnNo" name="crdnNo" class="input"
|
|
|
|
|
value="${data.crdnNo}" readonly/>
|
|
|
|
|
<input type="text" id="crdnNo" name="crdnNo" class="input" value="${data.crdnNo}" readonly />
|
|
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</td>
|
|
|
|
|
@ -66,15 +64,13 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="th"><span class="required">*</span> 적발일자</th>
|
|
|
|
|
<td colspan="3">
|
|
|
|
|
<input type="text" id="dsclYmd" name="dsclYmd" class="input calender datepicker" validation-check="required"
|
|
|
|
|
value="${dateUtil:formatDateString(data.dsclYmd)}" maxlength="10" style="width: 120px;" autocomplete="off"/>
|
|
|
|
|
<input type="text" id="dsclYmd" name="dsclYmd" class="input calender datepicker" validation-check="required" value="${dateUtil:formatDateString(data.dsclYmd)}" maxlength="10" style="width: 120px;" autocomplete="off" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="th">조사원</th>
|
|
|
|
|
<td colspan="3">
|
|
|
|
|
<input type="text" id="exmnr" name="exmnr" class="input"
|
|
|
|
|
value="${data.exmnr}" maxlength="100" style="width: 80%;" validation-check="maxlength" />
|
|
|
|
|
<input type="text" id="exmnr" name="exmnr" class="input" value="${data.exmnr}" maxlength="100" style="width: 80%;" validation-check="maxlength" />
|
|
|
|
|
<button id="btnExmnrSelect" class="newbtn bg1 smallb-2" type="button">조사원 선택</button>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
@ -153,8 +149,12 @@
|
|
|
|
|
* 코드 선택박스 초기화
|
|
|
|
|
*/
|
|
|
|
|
initCodeSelect: function() {
|
|
|
|
|
commonCodeSelectAjax('RGN_SE_CD', 'rgnSeCd', '선택하세요', "${data.rgnSeCd == null ? '1':data.rgnSeCd}", {sortColumn:"SORT_ORDR"});
|
|
|
|
|
commonCodeSelectAjax('DSCL_MTHD_CD', 'dsclMthdCd', '선택하세요', "${data.dsclMthdCd}", {sortColumn:"CD_NM"});
|
|
|
|
|
commonCodeSelectAjax('RGN_SE_CD', 'rgnSeCd', '선택하세요', "${data.rgnSeCd == null ? '1':data.rgnSeCd}", {
|
|
|
|
|
sortColumn: "SORT_ORDR"
|
|
|
|
|
});
|
|
|
|
|
commonCodeSelectAjax('DSCL_MTHD_CD', 'dsclMthdCd', '선택하세요', "${data.dsclMthdCd}", {
|
|
|
|
|
sortColumn: "CD_NM"
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@ -261,9 +261,12 @@
|
|
|
|
|
var crdnNo = $("#crdnNo").val();
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/crdn/crndRegistAndView/delete.ajax',
|
|
|
|
|
url: '<c:url value="/crdn/crndRegistAndView/delete.ajax"/>',
|
|
|
|
|
type: 'POST',
|
|
|
|
|
data: { crdnYr: crdnYr, crdnNo: crdnNo },
|
|
|
|
|
data: {
|
|
|
|
|
crdnYr: crdnYr,
|
|
|
|
|
crdnNo: crdnNo
|
|
|
|
|
},
|
|
|
|
|
success: function(response) {
|
|
|
|
|
if (response.success) {
|
|
|
|
|
alert(response.message || '삭제되었습니다.');
|
|
|
|
|
|