1.提前结清违约金比例取值由默认0.05改为从产品中读取
This commit is contained in:
parent
7bf88f0d28
commit
4bfdf53e81
@ -18,9 +18,11 @@
|
||||
String contractId=condition.getAttribute("contract_id").getString();
|
||||
String cautionmoney = Sqlca.getString("select caution_money from lc_calc_condition where CONTRACT_ID='"+contractId+"'");
|
||||
String mayopemoney = Sqlca.getString("select sum(MAYOPE_MONEY) from LC_EBANK_TEMP where flowunid='"+flowunid+"'");
|
||||
|
||||
BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);
|
||||
String productId=flow.getAttribute("productId").getString();
|
||||
|
||||
String ratio = Sqlca.getString("select EarlySettleBreachRatio from PRD_SPECIFIC_LIBRARY where productid='"+productId+"'");
|
||||
System.out.println(ratio+"===================");
|
||||
String sTempletNo = "LCContractTerminate";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setDefaultValue("PAYMENT_NUMBER", paymentnumber);
|
||||
@ -93,7 +95,11 @@
|
||||
setItemValue(0,getRow(),"REPURCHASE_MONEY",remaincorpus);
|
||||
setItemValue(0,getRow(),"FIST_RENT",terminateInfo.fist_rent);
|
||||
setItemValue(0,getRow(),"FIST_CORPUS","0");
|
||||
setItemValue(0,getRow(),"HANDLING_CHARGE",Number(remaincorpus*0.05).toFixed(2));
|
||||
var ratio = 0.05;
|
||||
if(!(("<%=ratio%>"=="")||"<%=ratio%>"==null)){
|
||||
ratio=(Number("<%=ratio%>")/100).toFixed(2);
|
||||
}
|
||||
setItemValue(0,getRow(),"HANDLING_CHARGE",Math.round(Number(remaincorpus*ratio)*100)/100);
|
||||
var dateRate=Number("<%=yearrate%>")/100;//获取利率
|
||||
// var sDate1 = getItemValue(0,getRow(),"PAYDAY_DATE");//获取提出日期
|
||||
var idays = datedifference(rentPlanDate,paydayAdjust);//获取约定终止日和提出日期相差天数
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user