1.修改撤销按钮不生效问题。

2.回笼罚息的值应该为罚息余额的值,不应该为应收罚息的值。
This commit is contained in:
zhangbb 2018-10-15 15:34:23 +08:00
parent f4ac8dbf71
commit 7f93ba8a68
2 changed files with 3 additions and 3 deletions

View File

@ -47,6 +47,8 @@
}
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
var oldFactMoney = 0;
var newFactMoney = 0;
function updateEbankAndEbankProcessOfDel(){
var rows = getItemValueArray(0,"ID")+"";
if(rows == ""){
@ -72,8 +74,6 @@
oldFactMoney = newFactMoney;
reloadSelf();
}
get();
total();
}
function checkMayopeMoney(){

View File

@ -334,7 +334,7 @@ public class RentIncomeMethod {
if("penalty_income".equals(penaltyRule)){
penaltyOver = "0.00";
}else{
penaltyOver = JBOFactory.getBizObjectManager(VI_LC_RENT_PLAN.CLASS_NAME).createQuery("select v.getRentPenalty('"+boVLRP.getAttribute("PAYMENT_NUMBER").getString()+"','"+boVLRP.getAttribute("PLAN_LIST").getString()+"','"+factDate+"') v.penalty from O").getSingleResult(false).getAttribute("penalty").getString();
// penaltyOver = JBOFactory.getBizObjectManager(VI_LC_RENT_PLAN.CLASS_NAME).createQuery("select v.getRentPenalty('"+boVLRP.getAttribute("PAYMENT_NUMBER").getString()+"','"+boVLRP.getAttribute("PLAN_LIST").getString()+"','"+factDate+"') v.penalty from O").getSingleResult(false).getAttribute("penalty").getString();
}
money = new BigDecimal(corpusOver).add(new BigDecimal(interestOver)).add(new BigDecimal(penaltyOver));
if(money.compareTo(bel) <= 0){