부과제외 관리 수정.

main
jjh 3 months ago
parent 04d413b34c
commit 5fb01ebeff

@ -378,10 +378,10 @@
, size: $P.ctrl.infoSize , size: $P.ctrl.infoSize
, content: resp , content: resp
, init: () => { , init: () => {
setDialogZindex();
$("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", "${pageName}"); $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
setDialogZindex();
} }
, onClose: () => { $P.ctrl.reload({all : true}); } // 자료 재조회 , onClose: () => { $P.ctrl.reload({all : true}); } // 자료 재조회
}); });
@ -504,10 +504,10 @@
, size: "xxl" , size: "xxl"
, content: resp , content: resp
, init: () => { , init: () => {
setDialogZindex();
$("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", "${pageName}"); $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
setDialogZindex();
} }
, onClose: () => { } , onClose: () => { }
}); });
@ -621,10 +621,10 @@
, size: "lg" , size: "lg"
, content: resp , content: resp
, init: () => { , init: () => {
setDialogZindex();
$("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", "${pageName}"); $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
setDialogZindex();
} }
}); });
} }
@ -769,7 +769,7 @@
// 2. 초기 설정 // 2. 초기 설정
initDatepicker($P.find("frmSearch")); // 달력 초기화 initDatepicker($P.find("frmSearch")); // 달력 초기화
initDetailSearchButton($P.find("frmSearch")); initDetailSearchButton($P.find("frmSearch")); //
$P.fnResetAndChangeBiz($("#layout-navbar input[name='taskSeCd']:checked").val()); // 초기 설정 및 업무 구분 변경 $P.fnResetAndChangeBiz($("#layout-navbar input[name='taskSeCd']:checked").val()); // 초기 설정 및 업무 구분 변경

@ -4,7 +4,7 @@
<c:set var="prefixName" scope="request">부과제외 상세 정보</c:set> <c:set var="prefixName" scope="request">부과제외 상세 정보</c:set>
<!-- inner page html --> <!-- inner page html -->
<div class="content-pop"data-doctx="${pageName}"> <div class="content-pop" data-doctx="${pageName}">
<!-- Content --> <!-- Content -->
<div class="container flex-grow-1 px-0"> <div class="container flex-grow-1 px-0">
<div class="card"> <div class="card">
@ -36,7 +36,7 @@
<!-- 부과 제외 일자 --> <!-- 부과 제외 일자 -->
<div class="col-md-12"> <div class="col-md-12">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="levyExclYmd">부과제외일자</label> <label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="levyExclYmd">부과제외일자</label>
<input type="text" class="form-control form-date" name="levyExclYmd" data-map="LEVY_EXCL_YMD" <input is="id-input" type="text" class="form-control form-date" name="levyExclYmd" data-map="LEVY_EXCL_YMD"
data-fmt-type="day" autocomplete="off" title="날짜 선택" maxlength="10" required /> data-fmt-type="day" autocomplete="off" title="날짜 선택" maxlength="10" required />
<button type="button" class="bx bx-lg bx-calendar bg-white" name="btnLevyExclYmd"></button> <button type="button" class="bx bx-lg bx-calendar bg-white" name="btnLevyExclYmd"></button>
</div> </div>
@ -52,7 +52,7 @@
</div> </div>
<!-- 기타 내용 --> <!-- 기타 내용 -->
<div class="col-md-12"> <div class="col-md-12">
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="etcCn">기타 내용</label> <label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end align-top" for="etcCn">기타 내용</label>
<textarea is="id-textarea" type="text" class="form-control w-70" name="etcCn" data-map="ETC_CN" autocomplete="off" rows="3" data-maxlengthb="1000"></textarea> <textarea is="id-textarea" type="text" class="form-control w-70" name="etcCn" data-map="ETC_CN" autocomplete="off" rows="3" data-maxlengthb="1000"></textarea>
</div> </div>
</div> </div>
@ -127,7 +127,7 @@
// 호출용도가 등록 이라면.. // 호출용도가 등록 이라면..
if ($P.callPurpose == "create") { if ($P.callPurpose == "create") {
$P.$P.$find("levyExclYmd").datepicker("setDate", new Date()); $P.$find("levyExclYmd").datepicker("setDate", TODAY());
} }
} }
@ -164,7 +164,7 @@
ajax.post({ ajax.post({
url: !create ? $P.ctrl.urls.update : $P.ctrl.urls.create url: !create ? $P.ctrl.urls.update : $P.ctrl.urls.create
, data: info || {} , data: info || {}
, success: resp => $P.ctrl.onSave(resp) , success: (resp) => { $P.ctrl.onSave(resp); }
}); });
} }
} }
@ -244,7 +244,7 @@
$P.$find("vhrno").prop("readonly", true); // 차량번호 $P.$find("vhrno").prop("readonly", true); // 차량번호
$P.$find("levyExclSeNm").prop("readonly", true); // 부과 제외 구분 $P.$find("levyExclSeNm").prop("readonly", true); // 부과 제외 구분
// View로 호출 // View로 호출되었을때 disabled 셋팅
if ($P.callPurpose == "view") { if ($P.callPurpose == "view") {
// input 요소들을 disabled // input 요소들을 disabled
$P.$find("frmEdit").find("input,textarea,select").prop("disabled", true); $P.$find("frmEdit").find("input,textarea,select").prop("disabled", true);

Loading…
Cancel
Save