사전감경금액 설정 수정

master
mjkhan21 7 months ago
parent afc574a5d6
commit be11a2d2c6

@ -60,7 +60,9 @@ public class ChongnoTaskProcessor extends TaskProcessor {
.setTaskSeCd(taskSeCd)
.setSggCd(sggCd);
int amt = toInt(crdnStngMapper.selectBasicAmt(query));
return new int[] {amt, amt};
DataObject taskInfo = getTaskInfo(sggCd, taskSeCd);
return new int[] {amt, amt * (100 - toInt(taskInfo.get("ADVNTCE_RDCRT"))) / 100};
}
return super.getBasicAmt(crdn);
}

@ -188,7 +188,7 @@
<input type="text" is="id-input" name="vhclNm" data-map="VHCL_NM" class="form-control" readonly placeholder="명칭" />
<input type="text" is="id-input" name="vhclColr" data-map="VHCL_COLR" class="form-control" readonly placeholder="색상" />
<input type="text" is="id-input" name="vhclCpct" data-map="VHCL_CPCT" class="form-control text-end" readonly placeholder="정원" />
<input type="text" is="id-input" name="vin" data-map="VIN" class="form-control" readonly placeholder="차대번호" />
<input type="text" is="id-input" name="vin" data-map="VIN" class="form-control" readonly placeholder="차대번호" title="차대번호" />
</div>
<%--
<div class="col-md-4">
@ -602,7 +602,7 @@ $(document).ready(function(){
}
});
["rtpyrId", "addrSn", "rtpyrNm", "rtpyrSeCd", "rtpyrNo", "vin", "vhclNm", "vhclColr", "useFuelCd", "ffnlgCarmdlCd", "zip", "addr", "dtlAddr"]
["rtpyrId", "addrSn", "rtpyrNm", "rtpyrSeCd", "rtpyrNo", "vin", "vhclNm", "vhclColr", "vhclCpct", "useFuelCd", "ffnlgCarmdlCd", "zip", "addr", "dtlAddr"]
.forEach(name => $P.$findn(name).val(""))
return;
}
@ -629,6 +629,7 @@ $(document).ready(function(){
$P.$findn("vin").val(vehicle.vin);
$P.$findn("vhclNm").val(vehicle.cnm);
$P.$findn("vhclColr").val(vehicle.color_nm);
$P.$findn("vhclCpct").val(vehicle.tkcar_pscap_co);
$P.$findn("useFuelCd").val(vehicle.use_fuel_code);
if (vehicle.vhcty_asort_code == "1"){ //승용

@ -56,8 +56,8 @@
<th style="width: 200px;">소유주명</th>
<th style="width: 200px;">면제시작일</th>
<th style="width: 200px;">면제종료일</th>
<th style="width: 200px;">입력자</th>
<th style="width: 200px;">입력일시</th>
<th style="width: 200px;">등록자</th>
<th style="width: 200px;">등록일시</th>
<th style="width: 200px;">수정자</th>
<th style="width: 200px;">수정일시</th>
<th style="width: 200px;">삭제자</th>
@ -365,7 +365,7 @@ $(document).ready(function(){
var dataKey = ctrl.dataset.getCurrent()["EXMPTN_VHCL_ID"];
ajax.get({
url : wctx.url("/BPV/crdn/crdn08/030/list.do"),
url : wctx.url("/crdn/crdn08/030/list.do"),
data: { "exmptnVhclId" : dataKey },
success:(resp) => {
let dialogName = "exmptnvhclHistoryDialog";

@ -19,8 +19,8 @@
<th style="width: 160px;">면제종료일</th>
<th style="width: 100px;">삭제 여부</th>
<th style="width: 200px;">삭제사유</th>
<th style="width: 160px;">입력자</th>
<th style="width: 200px;">입력일시</th>
<th style="width: 160px;">등록자</th>
<th style="width: 200px;">등록일시</th>
<th style="width: 160px;">수정자</th>
<th style="width: 200px;">수정일시</th>
<th style="width: 160px;">삭제자</th>

@ -495,7 +495,7 @@
$("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", "${pageName}");
AppSupport.setDialogZindex();
// AppSupport.setDialogZindex();
}
, onClose: () => { $P.fnRefresh(); } // 정보 새로고침
});

@ -350,7 +350,7 @@
$("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", "${pageName}");
AppSupport.setDialogZindex();
// AppSupport.setDialogZindex();
}
, onClose: onClose
});

Loading…
Cancel
Save