From 7ae161e409d0d949ee04fc7fb2550efe2330d9ae Mon Sep 17 00:00:00 2001 From: zhangbb Date: Wed, 11 Mar 2020 18:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=B8=80=E6=AC=A1=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= 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 19d1558e2..9be772b2a 100644 --- a/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp +++ b/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp @@ -92,6 +92,7 @@ var state = getItemValue(0, 0, "state_"); var FbSdk = getItemValue(0,0,"FbSdk"); var id= getItemValue(0, 0, "id"); + var accountPurpose= getItemValue(0, 0, "account_purpose"); if(accountType=="in_account" && getItemValue(0, 0, "FbSdk")=="Y"){ setItemValue(0,0,"FbSdk", "N"); hideItemRequired(0,"branch_code"); @@ -103,7 +104,7 @@ var sParams = "accountType="+accountType+",accType="+accType+",state="+state+",FbSdk="+FbSdk+",ownId="+ownId; var sReturn = RunJavaMethodTrans("com.tenwa.reckon.copydata.CalcRentCompare", "compare",sParams ); - if(((id==null||id=="")&&account_purpose!="default")||sReturn=="null"||sReturn==id){ + if(((id==null||id=="")&&accountPurpose!="default")||sReturn=="null"||sReturn==id){ as_save("myiframe0","parent.AsDialog.ClosePage()"); }else{ alert("相同类型的账户只能存在一个,请检查(银行账号类型 ,是否为企银直连,银行账户用途,状态等字段)!");