提前结清初始化页面调整

This commit is contained in:
zzk 2022-04-15 09:26:05 +08:00
parent 197f55abef
commit d50014584c

View File

@ -18,9 +18,7 @@
String nominalPrice=condition.getAttribute("NOMINAL_PRICE").getString();
String cautionmoney = Sqlca.getString("select ifnull(round( sum(case lfi.FEE_TYPE when 'feetype2' then FACT_MONEY else 0 end)- sum(case lfi.FEE_TYPE when 'feetype2' then 0 else FACT_MONEY end ),2),0) as over_caution_monry from lc_fund_income lfi where lfi.CONTRACT_ID = '"+contractId+"' and lfi.FEE_TYPE in ('feetype2', 'feetype16', 'feetype17')");
String mayopemoney = Sqlca.getString("select sum(MAYOPE_MONEY) from LC_EBANK_TEMP where flowunid='"+flowunid+"'");
String settletype = CurPage.getParameter("settletype");
BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);
String productId=flow.getAttribute("productId").getString();
String ratio = Sqlca.getString("select EarlySettleBreachRatio from PRD_SPECIFIC_LIBRARY where productid='"+productId+"'");
@ -354,14 +352,20 @@
jQuery(function(){
var settlemethod = getItemValue(0,getRow(),"SETTLE_METHOD");
if("N"==("<%=settletype%>")){
$("#A_div_1007").attr("style","display:none;");
$("#A_div_1008").attr("style","display:none;");
$("#A_div_1009").attr("style","display:none;");
$("#A_div_2096").attr("style","display:none;");
$("#A_div_2098").attr("style","display:none;");
}
}else if(settlemethod=="SETTLE_METHOD01") {
$("#A_div_1008").attr("style","display:none;");
$("#A_div_1009").attr("style","display:none;");
$("#A_div_2096").attr("style","display:none;");
$("#A_div_2098").attr("style","display:none;");
}
setItemValue(0,0,"flowunid","<%=flowunid%>");
var payday_date = getItemValue(0,getRow(),"PAYDAY_DATE");
if(""==payday_date || "undefined"==payday_date || null == payday_date){