From 456f1a9bdfc671c6c122ce0698098147bea6af82 Mon Sep 17 00:00:00 2001 From: zzk Date: Mon, 11 Apr 2022 17:11:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=89=8D=E7=BB=93=E6=B8=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E5=A1=AB=E5=80=BC=E6=8F=90=E4=BA=A4=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LCContractTerminate/LCContractTerminateInfo.jsp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LCContractTerminate/LCContractTerminateInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LCContractTerminate/LCContractTerminateInfo.jsp index 91464e1d0..1b8a67365 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LCContractTerminate/LCContractTerminateInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LCContractTerminate/LCContractTerminateInfo.jsp @@ -275,6 +275,9 @@ var adjusttype = getItemValue(0,0,"ADJUST_TYPE"); if("01"==adjusttype){ var maximumtotal = updateContractBondTotal(); + if(maximumtotal=="" ||maximumtotal == null ){ + maximumtotal = "0"; + } setItemValue(0,getRow(),"MAXIMUM_TOTAL",maximumtotal); if(Number(maximumtotal)>Number(<%=mayopemoney%>)){ alert('最终还款金额大于网银核销金额!!!'); @@ -288,7 +291,14 @@ } }else{ var contractTotal = getItemValue(0,0,"CONTRACT_TOTAL"); - if(Number(contractTotal)>Number(<%=mayopemoney%>)){ + if(contractTotal==""||contractTotal==null){ + contractTotal = "0"; + } + var mayopemoney = <%=mayopemoney%>; + if(mayopemoney==""||mayopemoney==null){ + mayopemoney = "0"; + } + if(Number(contractTotal)>Number(mayopemoney)){ alert('最终还款金额大于网银核销金额!!!'); return; }