1.修改担保人性别判断条件。
This commit is contained in:
parent
3226624294
commit
0ded85a0a8
@ -206,14 +206,16 @@
|
||||
}
|
||||
//根据身份证号判断性别
|
||||
function ValidityCheck(){
|
||||
debugger;
|
||||
var certType = getItemValue(0,getRow(0),"CERTTYPE");
|
||||
var certID = getItemValue(0,getRow(),"CERTID");
|
||||
sex = certID.substring(16,17);
|
||||
var sex = certID.substring(16,17);
|
||||
sex = parseInt(sex);
|
||||
if(sex%2==0){//ÆæÄÐżŮ
|
||||
setItemValue(0,getRow(),"SEX","2");
|
||||
}else(sex%2==1){
|
||||
setItemValue(0,getRow(),"SEX","1");
|
||||
if(certType=="Ind01"||certType=="Ind08"){
|
||||
if(sex%2==0){//ÆæÄÐżŮ
|
||||
setItemValue(0,getRow(),"SEX","2");
|
||||
}else if(sex%2==1){
|
||||
setItemValue(0,getRow(),"SEX","1");
|
||||
}
|
||||
}
|
||||
checkCertidRepeat();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user