1.本方账户页面校验逻辑优化

This commit is contained in:
zhangbb 2020-03-11 18:11:33 +08:00
parent 7222bf5e32
commit cf8d6ab31c

View File

@ -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("相同类型的账户只能存在一个,请检查(银行账号类型 ,是否为企银直连,银行账户用途,状态等字段)!");