This commit is contained in:
jianghongdong 2018-09-26 17:29:54 +08:00
commit 982525cc79
2 changed files with 24 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}