经销商审核隐去手机号校验

This commit is contained in:
liuz 2018-08-23 20:31:33 +08:00
parent 4b7d84314b
commit a99b5593a5

View File

@ -100,7 +100,7 @@
return false;
}
}
function checkphone(){
/* function checkphone(){
var DISTRIBUTOR_TEL = getItemValue(0,getRow(0),"DISTRIBUTOR_TEL");
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(DISTRIBUTOR_TEL)){
@ -111,8 +111,8 @@
alert("电话号格式不正确!");
return false;
}
}
function telnumber(){
} */
/* function telnumber(){
var DEALER_PHONE = getItemValue(0,getRow(0),"DEALER_PHONE");
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(DEALER_PHONE)){
@ -123,7 +123,7 @@
alert("电话号格式不正确!");
return false;
}
}
} */
function save() {
var result = false;
var distributor_coding = getItemValue(0,0,'DISTRIBUTOR_CODING');
@ -136,14 +136,14 @@
if(TelResult==false){
return;
}
var Tel = checkphone();
/* var Tel = checkphone();
if(Tel==false){
return;
}
var phone = telnumber();
if(phone==false){
return;
}
} */
var result1 = Checkfield();
//if(result==true){
if(result==true && result1==true){