diff --git a/WebContent/Tenwa/Customer/Partner/Comm/Company/PartnerCompanyRegister.jsp b/WebContent/Tenwa/Customer/Partner/Comm/Company/PartnerCompanyRegister.jsp index 2e35c3100..4e280bad3 100644 --- a/WebContent/Tenwa/Customer/Partner/Comm/Company/PartnerCompanyRegister.jsp +++ b/WebContent/Tenwa/Customer/Partner/Comm/Company/PartnerCompanyRegister.jsp @@ -82,7 +82,8 @@ include file="/Frame/resources/include/ui/include_info.jspf"%> var certid = getItemValue(0,getRow(),"certid"); //判断组织机构代码合法性 if(certType =='Ent02'){ - if(!checkORGRight1(certid) ){ +// if(!checkORGRight1(certid) ){ + if(!checkORGRight(certid) ){ setErrorTips("certid","组织机构代码格式错误!"); return false; } diff --git a/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp b/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp index 47f7793fe..57854bc1a 100644 --- a/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp @@ -63,7 +63,28 @@ } } function selectCustomer(){ - AsDialog.OpenSelector("SelectCustomerForRiskAlert","","",function(sReturn){ + + var flowno="<%=CurPage.getParameter("ApplyType")%>"; + var selname=""; + var orgId="<%=CurUser.getOrgID()%>".substring(0,7); + var businessType=""; + if(flowno=="RiskAlertFlow"){ + businessType=" lci.businesstype='1'"; + }else{ + businessType=" (lci.businesstype='2' OR lci.businesstype='3')"; + /* if(orgId=="8009010"){ + businessType="2"; + }else if(orgId=="8009011"){ + businessType="3"; + }else{ + alert("当前用户不能发起!"); + return; + } */ + } + + + var userid="<%=CurUser.getUserID()%>"; + AsDialog.OpenSelector("SelectCustomerForRiskAlert","userid,"+userid+",businessType,"+businessType,"",function(sReturn){ if(!sReturn||sReturn=="_CANCEL_" || sReturn=="_NONE_"){ return; }