From cf8d6ab31c97094eb257ec8617c465817717ae6f Mon Sep 17 00:00:00 2001 From: zhangbb Date: Wed, 11 Mar 2020 18:11:33 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9C=AC=E6=96=B9=E8=B4=A6=E6=88=B7=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=A1=E9=AA=8C=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp b/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp index 83d463772..19d1558e2 100644 --- a/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp +++ b/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp @@ -102,7 +102,8 @@ if(state_="0010"){ var sParams = "accountType="+accountType+",accType="+accType+",state="+state+",FbSdk="+FbSdk+",ownId="+ownId; var sReturn = RunJavaMethodTrans("com.tenwa.reckon.copydata.CalcRentCompare", "compare",sParams ); - if(sReturn=="null"||sReturn==id){ + + if(((id==null||id=="")&&account_purpose!="default")||sReturn=="null"||sReturn==id){ as_save("myiframe0","parent.AsDialog.ClosePage()"); }else{ alert("相同类型的账户只能存在一个,请检查(银行账号类型 ,是否为企银直连,银行账户用途,状态等字段)!");