From 3fbc2715f0b3e436db546c433e50c5c3476f08ce Mon Sep 17 00:00:00 2001 From: zhangbb Date: Mon, 13 Jan 2020 14:39:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9C=AC=E6=96=B9=E8=B4=A6=E6=88=B7=E6=A0=A1?= =?UTF-8?q?=E9=AA=8Cbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp b/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp index 8f9b3c6e1..7f03fa21c 100644 --- a/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp +++ b/WebContent/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp @@ -92,14 +92,16 @@ var state = getItemValue(0, 0, "state_"); var FbSdk = getItemValue(0,0,"FbSdk"); var id= getItemValue(0, 0, "id"); - if(accountType=="in_account"){ + if(accountType=="in_account" && getItemValue(0, 0, "FbSdk")=="Y"){ setItemValue(0,0,"FbSdk", "N"); + hideItemRequired(0,"branch_code"); + hideItem(0,"branch_code"); alert("收款暂不支持银企直连!"); return; } 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(sReturn=="null"||sReturn==id||state!="0010"){ as_save("myiframe0","parent.AsDialog.ClosePage()"); }else{ alert("相同类型的账户只能存在一个,请检查(银行账号类型 ,是否为企银直连,银行账户用途,状态等字段)!");