1.设置商定罚息带出逾期罚息
2.添加获取保证金余额
This commit is contained in:
parent
6090a09406
commit
e7376676f1
@ -128,6 +128,8 @@ String nodeNo=CurPage.getParameter("NodeNo");
|
||||
|
||||
jQuery(function(){
|
||||
setItemValue(0,0,"flowunid","<%=flowunid%>");
|
||||
//设置商定罚息带出逾期罚息
|
||||
setItemValue(0,0,"AGREED_PENALTY",getItemValue(0,0,'DUN_PENALTY'));
|
||||
//判断其他应收和其他应退是否为空
|
||||
var otherIn = getItemValue(0,getRow(),"OTHER_IN");
|
||||
var otherOut = getItemValue(0,getRow(),"OTHER_OUT");
|
||||
|
||||
@ -263,4 +263,19 @@ public class ColRelativeInfo {
|
||||
}
|
||||
return provices;
|
||||
}
|
||||
//»ñÈ¡±£Ö¤½ðÓà¶î MARGIN_BALANCE
|
||||
public static String getMarginBalance(String planID,String factMoney) throws JBOException{
|
||||
BizObject bo = JBOFactory.createBizObjectQuery(LC_FUND_PLAN.CLASS_NAME, "ID=:PLANID")
|
||||
.setParameter("PLANID", planID).getSingleResult(false);
|
||||
String PlanMoney = bo != null?bo.getAttribute("plan_money").getString():"";
|
||||
if(PlanMoney!=""&&factMoney!=""){
|
||||
BigDecimal num = new BigDecimal(PlanMoney);
|
||||
BigDecimal num1 = new BigDecimal(factMoney);
|
||||
if(num.subtract(num1).doubleValue()>0){
|
||||
return num.subtract(num1).doubleValue()+"";
|
||||
}
|
||||
return "0";
|
||||
}
|
||||
return "0";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user