부과제외 관리 수정.

main
jjh 3 months ago
parent 04d413b34c
commit 5fb01ebeff

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

@ -4,7 +4,7 @@
<c:set var="prefixName" scope="request">부과제외 상세 정보</c:set>
<!-- inner page html -->
<div class="content-pop"data-doctx="${pageName}">
<div class="content-pop" data-doctx="${pageName}">
<!-- Content -->
<div class="container flex-grow-1 px-0">
<div class="card">
@ -36,7 +36,7 @@
<!-- 부과 제외 일자 -->
<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>
<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 />
<button type="button" class="bx bx-lg bx-calendar bg-white" name="btnLevyExclYmd"></button>
</div>
@ -52,7 +52,7 @@
</div>
<!-- 기타 내용 -->
<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>
</div>
</div>
@ -127,7 +127,7 @@
// 호출용도가 등록 이라면..
if ($P.callPurpose == "create") {
$P.$P.$find("levyExclYmd").datepicker("setDate", new Date());
$P.$find("levyExclYmd").datepicker("setDate", TODAY());
}
}
@ -164,7 +164,7 @@
ajax.post({
url: !create ? $P.ctrl.urls.update : $P.ctrl.urls.create
, 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("levyExclSeNm").prop("readonly", true); // 부과 제외 구분
// View로 호출
// View로 호출되었을때 disabled 셋팅
if ($P.callPurpose == "view") {
// input 요소들을 disabled
$P.$find("frmEdit").find("input,textarea,select").prop("disabled", true);
@ -265,6 +265,6 @@
// 3. dataset 설정
$P.ctrl.setData([${info}]);
});
});
</script>

Loading…
Cancel
Save