부과예고 - 가감산 초기화 정보 추가

dev
박성영 3 months ago
parent 009f38e26c
commit 8ada576e1c

@ -770,7 +770,7 @@
if (ev.rowKey !== undefined && ev.rowKey !== null) {
var rowData = self.instance.getRow(ev.rowKey);
LevyPrvntcPopup.actInfoIdSelect = rowData.actInfoId;
handleRowSelection(rowData);
//handleRowSelection(rowData);
}
});
@ -982,6 +982,20 @@
$('#vltnArea').val(vltnArea).trigger('focus').trigger('change'); // 위반면적, change 이벤트 트리거
// 가감산 버튼 텍스트 업데이트
$('#btnOpenAddPopup').text('+ 가산 [0%]');
$('#btnOpenMinusPopup').text('- 감산 [0%]');
// 가감산시행령률
$('#adsbmtnEnfcRt').val('100'); // 가감산시행령률 값 설정
$('#adsbmtnEnfcRtDisplay').val('100' + ' %'); // 가감산시행령률 표시 필드 (퍼센트 포함)
// 가감산 정보
$('#adtnRtCd').val(''); // 가산율 코드 설정
$('#adtnRt').val(''); // 가산율 값 설정
$('#adtnRtRate').val(''); // 계산용 비율값
$('#sbtrRtCd').val(''); // 감산율 코드 설정
$('#sbtrRt').val(''); // 감산율 값 설정
$('#sbtrRtRate').val(1); // 계산용 비율값
// 행위유형에 따른 산정률1 설정
$('#cmpttnRtDisplay').val(rowData.actCmpttnRt+ ' %'); // 산정률 표시 필드 (퍼센트 포함)
$('#cmpttnRtCd').val(rowData.actTypeCd); // 산정률 코드 설정

@ -221,9 +221,10 @@
}
// 중요로직: 불법행위 정보 로딩 완료 후 행위자 그리드 순차적 로딩 실행
if (window.CrdnDetailView && window.CrdnDetailView.refreshOtherGridsAfterLocation2) {
window.CrdnDetailView.refreshOtherGridsAfterLocation2();
}
// focus 동작으로 필요 없어 보임.
//if (window.CrdnDetailView && window.CrdnDetailView.refreshOtherGridsAfterLocation2) {
// window.CrdnDetailView.refreshOtherGridsAfterLocation2();
//}
});

Loading…
Cancel
Save