diff --git a/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp b/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp index f41241c95..cefb3c1a8 100644 --- a/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp +++ b/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp @@ -85,7 +85,7 @@ } var maxLeaseMoney = getItemValue( 0, getRow(), 'MAX_LEASE_MONEY' ) ; var minLeaseMoney = getItemValue( 0, getRow(), 'MIN_LEASE_MONEY' ); - if( Number(fcleanLeaseMoney) > Number(maxLeaseMoney) || Number(fcleanLeaseMoney) < Number(minLeaseMoney)){ + if(typeof(fcleanLeaseMoney)!="undefined" && fcleanLeaseMoney.length!=0 && (Number(fcleanLeaseMoney) > Number(maxLeaseMoney) || Number(fcleanLeaseMoney) < Number(minLeaseMoney))){ setItemValue( 0, getRow(), 'CLEAN_LEASE_MONEY', ''); setItemValue( 0, getRow(), 'CLEAN_LEASE_RATIO', ''); alert("该段的融资金额不在产品配置的区间内,请检查!"); @@ -104,7 +104,7 @@ var clm = getItemValue( 0, getRow(), 'CLEAN_LEASE_MONEY' ); var maxLeaseMoney = getItemValue( 0, getRow(), 'MAX_LEASE_MONEY' ); var minLeaseMoney = getItemValue( 0, getRow(), 'MIN_LEASE_MONEY' ); - if( Number(clm) > Number(maxLeaseMoney) || Number(clm) < Number(minLeaseMoney)){ + if(typeof(clm)!="undefined" && clm.length!=0 && ( Number(clm) > Number(maxLeaseMoney) || Number(clm) < Number(minLeaseMoney) )){ setItemValue( 0, getRow(), 'CLEAN_LEASE_MONEY', ''); setItemValue( 0, getRow(), 'CLEAN_LEASE_RATIO', ''); alert("该段的融资金额不在产品配置的区间内,请检查!");