diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 9c0bf4012..a54b9e502 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -93,6 +93,7 @@ doTemp.setHtmlEvent("CAUTION_DEDUCTION_MONEY", "onchange", "cautionDeductionMoney");//保证金抵扣金额 doTemp.setHtmlEvent("LEASE_AMT_DATE", "onchange", "changeLeaseAmtDate");//投放日 doTemp.setHtmlEvent("START_DATE", "onchange", "changeStartDate");//起租日 + doTemp.setHtmlEvent("DEFAULTDUEDAY", "onchange", "changeLeaseAmtDate"); doTemp.setHtmlEvent("FIRST_PLAN_DATE", "onchange", "changeFistPlanDate");//第一期计划日期 doTemp.setHtmlEvent("CORPUS_RATIO", "onchange", "changeCorpusRatio");//期限内本金比例 /*设置字段事件*/ @@ -288,9 +289,11 @@ CalcControl.InitLsaseTerm=function(){ CalcControl.InitStartDate=function(){ var leaseAmtDate=getItemValue(0,getRow(),"LEASE_AMT_DATE");//投放日 - var startDate=getItemValue(0,getRow(),"START_DATE");//起租日 + //var startDate=getItemValue(0,getRow(),"START_DATE");//起租日 + var startDate=leaseAmtDate;//起租日 + setItemValue(0, 0, "START_DATE", startDate); var periodType=getItemValue(0,getRow(),"PERIOD_TYPE");//期初期末 - var incomenumberyear=getItemValue(0,getRow(),"INCOME_NUMBER_YEAR").split("_")[1];//还款间隔 + var incomenumberyear=Number(getItemValue(0,getRow(),"INCOME_NUMBER_YEAR").split("_")[1]);//还款间隔 var rentDay=getItemValue(0,getRow(0),"DEFAULTDUEDAY");//还款日 //默认起租日为投放日