|
|
|
|
@ -291,7 +291,7 @@
|
|
|
|
|
<!-- 산출조사서 영역 -->
|
|
|
|
|
<div class="box_column mt-20">
|
|
|
|
|
<ul class="box_title">
|
|
|
|
|
<li class="tit">이행강제금 산출조사서</li>
|
|
|
|
|
<li id="calcDIV" class="tit">이행강제금 산출조사서</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div id="dynamicViewer">
|
|
|
|
|
|
|
|
|
|
@ -564,7 +564,7 @@
|
|
|
|
|
{ header: '이행법', name: 'impltLaw1', align: 'center', width: 130, hidden: true},
|
|
|
|
|
{header: '위치정보ID', name: 'pstnInfoId', align: 'center', width: 60, hidden: true},
|
|
|
|
|
{header: '지목', name: 'ldcgCd', align: 'center', width: 60, hidden: true},
|
|
|
|
|
{header: '지목명', name: 'ldcgCdNm', align: 'center', width: 130},
|
|
|
|
|
{header: '지목명', name: 'ldcgCdNm', align: 'center', width: 130, hidden: true},
|
|
|
|
|
{header: '지적', name: 'ptout', align: 'right', width: 100, formatter: function(e){ return e.value != null ? Number(e.value).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) : ''; } },
|
|
|
|
|
{header: '공시지가', name: 'oalp', align: 'right', width: 140, formatter: function(e){ return e.value != null ? Number(e.value).toLocaleString() : ''; } },
|
|
|
|
|
{ header: '면적', name: 'area', align: 'right', width: 100, formatter: function(e){
|
|
|
|
|
@ -842,6 +842,12 @@
|
|
|
|
|
|
|
|
|
|
LevyPrvntcPopup.levyInfoIdSelect = existingData.levyInfoId;
|
|
|
|
|
|
|
|
|
|
// 중요로직: 기존 데이터 로드 시 제목에 등록일 표시
|
|
|
|
|
if (existingData.regDt) {
|
|
|
|
|
var regDate = existingData.regDt.substring(0, 10); // YYYY-MM-DD 형식으로 자르기
|
|
|
|
|
$('#calcDIV').text('이행강제금 산출조사서 [등록일 : ' + regDate + ']');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 건축물과세시가
|
|
|
|
|
$('#taxableMarketPrice').val(existingData.bdstTxtnMprc || '').trigger('focus');
|
|
|
|
|
|
|
|
|
|
@ -888,7 +894,8 @@
|
|
|
|
|
$('#standardMarketPrice_bottom').val(existingData.mprcStdAmt || '').trigger('focus');
|
|
|
|
|
|
|
|
|
|
// 위반면적 설정
|
|
|
|
|
$('#vltnArea').val(existingData.vltnArea || '').trigger('focus');
|
|
|
|
|
console.log(existingData.vltnArea);
|
|
|
|
|
$('#vltnArea').val(existingData.vltnArea || '0').trigger('focus');
|
|
|
|
|
|
|
|
|
|
// 가감산 정보
|
|
|
|
|
$('#adtnRtCd').val(existingData.adtnRtCd || ''); // 가산율 코드 설정
|
|
|
|
|
@ -928,8 +935,8 @@
|
|
|
|
|
$('#cmpttnRt2Rate').val(existingData.cmpttnRt2Rate || ''); // 계산용 비율값
|
|
|
|
|
|
|
|
|
|
// 산정액 및 부과총액
|
|
|
|
|
$('#cmpttnAmt').val(existingData.cmpttnAmt || '').trigger('focus'); // 산정액 값 설정
|
|
|
|
|
$('#levyWholAmt').val(existingData.levyWholAmt || ''); // 부과총액 값 설정
|
|
|
|
|
$('#cmpttnAmt').val(existingData.cmpttnAmt || '0').trigger('focus'); // 산정액 값 설정
|
|
|
|
|
$('#levyWholAmt').val(existingData.levyWholAmt || '0'); // 부과총액 값 설정
|
|
|
|
|
$('#levyWholAmtDisplay').text((existingData.levyWholAmt ? Number(existingData.levyWholAmt).toLocaleString() : '0') + ' 원');
|
|
|
|
|
|
|
|
|
|
// 기존 데이터 로딩 시 계산하기 버튼 숨김 (이미 계산된 결과가 있으므로)
|
|
|
|
|
@ -945,6 +952,9 @@
|
|
|
|
|
* @param {Object} rowData - 선택된 행의 데이터
|
|
|
|
|
*/
|
|
|
|
|
var setActInfoToForm = function(rowData) {
|
|
|
|
|
// 중요로직: 신규 등록 모드로 전환 시 제목을 원래대로 복원
|
|
|
|
|
$('#calcDIV').text('이행강제금 산출조사서');
|
|
|
|
|
|
|
|
|
|
var vltnArea = rowData.calcArea; // 면적 - 조치면적 : 위반면적
|
|
|
|
|
|
|
|
|
|
$('#bldgNewPrcCrtrAmtNo').val(rowData.bldgNewPrcCrtrAmtNo); // 건물기준시가액(NO)
|
|
|
|
|
|