业务申请,共同申请人保存按钮修改
This commit is contained in:
parent
2044dd8a51
commit
dc89953b83
@ -180,7 +180,8 @@
|
||||
<%-- var certid=getItemValue(0,0,"CERTID");
|
||||
var customerid=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","updateUnitId",'certid='+certid+',flowunid=<%=sFlowUnid%>,custid='+getItemValue(0,0,"ASSUROR"));
|
||||
setItemValue(0,0,"ASSUROR",customerid); --%>
|
||||
as_save("myiframe0","");
|
||||
//as_save("myiframe0","");
|
||||
as_save(0,"goBack()");
|
||||
}
|
||||
|
||||
function setErrorTips(colName,tips){
|
||||
|
||||
@ -40,6 +40,7 @@
|
||||
String sTempletNo = "BusnessApprovalApplyCreationInfo";//--Ä£°åºÅ--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setHtmlEvent("Customer_type", "onchange", "setCertType");
|
||||
//doTemp.setHtmlEvent("certid", "onchange", "checkCertInfo");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
@ -333,6 +334,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
function checkCertInfo(flag){
|
||||
if(typeof(flag)=="undefined") flag=false;
|
||||
var certType = getItemValue(0,getRow(),"Customer_type");
|
||||
var certid = getItemValue(0,getRow(),"certid");
|
||||
//判断组织机构代码合法性
|
||||
if(certType =='Ind01'){
|
||||
if(!checkORGRight1(certid) ){
|
||||
setErrorTips("certid","身份证格式错误!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if(certType =='Ent01'){
|
||||
if(!isValidSocialCreditIdentifier(certid) ){
|
||||
setErrorTips("certid","社会统一信用代码格式错误!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user