合同变更比校验合同编号重复问题、添加贷前信用校验部分为空
This commit is contained in:
parent
f7f0cb8ebf
commit
3e3aeba902
@ -272,10 +272,12 @@
|
||||
alert("请勾选合同模板!");
|
||||
return;
|
||||
}
|
||||
var contractNomessage = RunJavaMethodTrans("com.tenwa.app.baseFileTemplate.handle.FileTemplateUtil","CheckContractNo","contractId="+"<%=sContractId%>"+",contractNo="+"<%=CurPage.getParameter("ContractNo")%>");
|
||||
if("error"==contractNomessage){
|
||||
alert("合同编号重复,请联系后台人员处理!");
|
||||
return;
|
||||
if("BContractChangeApply"!="<%=CurPage.getParameter("ApplyType")%>"){
|
||||
var contractNomessage = RunJavaMethodTrans("com.tenwa.app.baseFileTemplate.handle.FileTemplateUtil","CheckContractNo","contractId="+"<%=sContractId%>"+",contractNo="+"<%=CurPage.getParameter("ContractNo")%>");
|
||||
if("error"==contractNomessage){
|
||||
alert("合同编号重复,请联系后台人员处理!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
var message = RunJavaMethodTrans("com.tenwa.app.baseFileTemplate.handle.FileTemplateUtil","CheckCar","contractId="+"<%=sContractId%>"+",templateIds="+tempids+",flowunid="+"<%=flowunid%>");
|
||||
if(""!=message){
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
doTemp.setHtmlEvent("suphone","onChange","checkSuphone");
|
||||
doTemp.setHtmlEvent("certtype", "onChange", "setSexRead");
|
||||
doTemp.setHtmlEvent("certid","onChange","ValidityCheck");
|
||||
doTemp.setHtmlEvent("CERTTYPE","onChange","checkCertidSex");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
|
||||
@ -303,24 +304,35 @@
|
||||
sex = parseInt(sex);
|
||||
if(sex%2==0){//ÆæÄÐżŮ
|
||||
setItemValue(0,getRow(),"SEX","2");
|
||||
setItemReadOnly(0,0,"SEX",true);
|
||||
}else{
|
||||
setItemValue(0,getRow(),"SEX","1");
|
||||
setItemReadOnly(0,0,"SEX",true);
|
||||
}
|
||||
}else if(certID.length==15){
|
||||
sex = certID.substring(14,15);
|
||||
sex = parseInt(sex);
|
||||
if(sex%2==0){//ÆæÄÐżŮ
|
||||
setItemValue(0,getRow(),"SEX","2");
|
||||
setItemReadOnly(0,0,"SEX",true);
|
||||
}else{
|
||||
setItemValue(0,getRow(),"SEX","1");
|
||||
setItemReadOnly(0,0,"SEX",true);
|
||||
}
|
||||
}
|
||||
setItemReadOnly(0,0,"SEX",true);
|
||||
}else{
|
||||
setItemReadOnly(0,0,"SEX",false);
|
||||
}
|
||||
|
||||
checkCertidRepeat();
|
||||
}
|
||||
|
||||
//选择证件类型后,如果证件号不为空,则去判断性别
|
||||
function checkCertidSex(){
|
||||
var certID = getItemValue(0,getRow(),"CERTID");
|
||||
if(certID.length>0){
|
||||
ValidityCheck();
|
||||
}
|
||||
}
|
||||
function checkCertidRepeat(){
|
||||
var id = getItemValue(0,getRow(),"ID");
|
||||
var certId = getItemValue(0,getRow(),"CERTID");
|
||||
|
||||
Binary file not shown.
@ -604,12 +604,41 @@ public class CreditBodyGuardAction {
|
||||
msg = "规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"风险类型:"+detailList.get(0).get("fraud_type_display_name").toString()+"。"
|
||||
+"匹配字段:"+detailList.get(0).get("hit_type_display_name").toString()+"。";
|
||||
}else if(null==riskItemList.get(i).get("risk_name")&&!"".equals(riskItemList.get(i).get("risk_name").toString())&&riskItemList.get(i).get("risk_name").toString().length()>0){
|
||||
}else if("3个月内申请人在多个平台被放款_不包含本合作方".equals(riskItemList.get(i).get("risk_name"))){
|
||||
@SuppressWarnings("rawtypes")
|
||||
List<HashMap> detailList = JSON.parseArray(JSON.toJSONString(riskItemList.get(i).get("risk_detail")),HashMap.class);
|
||||
msg = "规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"风险类型:"+detailList.get(0).get("fraud_type_display_name").toString()+"。"
|
||||
+"匹配字段:"+detailList.get(0).get("hit_type_display_name").toString()+"。";
|
||||
@SuppressWarnings("rawtypes")
|
||||
List<HashMap> platformdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("platform_detail")),HashMap.class);
|
||||
@SuppressWarnings("rawtypes")
|
||||
List<HashMap> platformdetaildimensionList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("platform_detail_dimension")),HashMap.class);
|
||||
@SuppressWarnings("rawtypes")
|
||||
List<HashMap> platformdetaildimensioncertidList = JSON.parseArray(JSON.toJSONString(platformdetaildimensionList.get(0).get("detail")),HashMap.class);
|
||||
@SuppressWarnings("rawtypes")
|
||||
List<HashMap> platformdetaildimensionphoneList = JSON.parseArray(JSON.toJSONString(platformdetaildimensionList.get(1).get("detail")),HashMap.class);
|
||||
StringBuffer sb1 = new StringBuffer();
|
||||
for(int j=0;j<platformdetailList.size();j++){
|
||||
sb1.append(StringUtil.nullToString(platformdetailList.get(j).get("industry_display_name"),"")+":"
|
||||
+StringUtil.nullToString(platformdetailList.get(j).get("count"),"")+",");
|
||||
}
|
||||
StringBuffer sb2 = new StringBuffer();
|
||||
for(int k=0;k<platformdetaildimensionphoneList.size();k++){
|
||||
sb2.append(StringUtil.nullToString(platformdetaildimensionphoneList.get(k).get("industry_display_name"),"")+":"
|
||||
+StringUtil.nullToString(platformdetaildimensionphoneList.get(k).get("count"), "")+",");
|
||||
}
|
||||
StringBuffer sb3 = new StringBuffer();
|
||||
for(int h=0;h<platformdetaildimensioncertidList.size();h++){
|
||||
sb3.append(StringUtil.nullToString(platformdetaildimensioncertidList.get(h).get("industry_display_name"),"")+":"
|
||||
+StringUtil.nullToString(platformdetaildimensioncertidList.get(h).get("count"),"")+",");
|
||||
}
|
||||
msg = "规则描述:"+detailList.get(0).get("description").toString()+","
|
||||
+"总个数:"+detailList.get(0).get("platform_count").toString()+","
|
||||
+"平台详情:"+sb1.toString().substring(0, sb1.length()-1)+","
|
||||
+"各维度多头详情:"
|
||||
+"("+platformdetaildimensionList.get(0).get("dimension").toString()+"总个数:"+platformdetaildimensionList.get(0)
|
||||
.get("count").toString()+","+sb2.toString().substring(0,sb2.length()-1)+"),("
|
||||
+platformdetaildimensionList.get(1).get("dimension").toString()+"总个数:"+platformdetaildimensionList.get(1)
|
||||
.get("count").toString()+","+sb3.toString().substring(0, sb3.length()-1)+")";
|
||||
|
||||
}else{
|
||||
//continue;
|
||||
msg ="";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user