去掉业务申请弹框提示

This commit is contained in:
tangfutang 2018-08-16 19:47:54 +08:00
parent 8ca9d8987f
commit b5ee672d87
8 changed files with 32 additions and 29 deletions

View File

@ -14,7 +14,7 @@
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "CustomerCompanyTempInfo";//--模板号--
if("01".equals(customertype)&&!("业务申请流程".equals(flowName))){
if("01".equals(customertype)&&!("业务申请流程".equals(flowName))&&!("起租后合同变更汽车".equals(flowName))){
sTempletNo = "MakingCustomerCompanyTempInfo";//--模板号--
}
if("01".equals(customertype)&&"业务撤销流程".equals(flowName)){
@ -98,8 +98,8 @@
function changetel(){//校验法定代表人联系方式
var tel = getItemValue(0,getRow(0),"tel");
if(tel==""){
setErrorTips("tel","法定代表人联系方式不能为空!");
return false;
setErrorTips("tel","");
return true;
}
if(CheckPhoneCode(tel)){
setErrorTips("tel","");
@ -113,8 +113,8 @@
function changewealth_tel(){//校验财务负责人联系方式
var wealth_tel = getItemValue(0,getRow(0),"wealth_tel");
if(wealth_tel==""){
setErrorTips("wealth_tel","财务负责人联系方式不能为空!");
return false;
setErrorTips("wealth_tel","");
return true;
}
if(CheckPhoneCode(wealth_tel)){
setErrorTips("wealth_tel","");

View File

@ -97,8 +97,8 @@
var mobile = getItemValue(0,getRow(0),"MOBILE");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
alert("预留手机号不能为空!");
return false;
// alert("预留手机号不能为空!");
return true;
}
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(mobile)){

View File

@ -141,6 +141,10 @@
$("#A_div_1262").attr("style","display:none;");
$("#A_div_1339").attr("style","display:none;");
$("#A_div_1350").attr("style","display:none;");
}else{
setItemRequired(0,"FRAME_NUMBER",true);
setItemRequired(0,"ENGINE_NUMBER",true);
setItemRequired(0,"CAR_COLOUR",true);
}
if("ºÏÍ¬ÖÆ×÷Á÷³Ì"=="<%=flowName%>"||"ºÏͬ±ä¸üÁ÷³Ì"=="<%=flowName%>"){
setItemRequired(0,"FRAME_NUMBER",true);

View File

@ -42,8 +42,8 @@
var certId = getItemValue(0,getRow(0),"CERTID");
if(certType==""){
//setErrorTips("certType","证件类型不能为空!");
alert("证件类型不能为空!");
return false;
// alert("证件类型不能为空!");
return true;
}
if(certId==""){
//setErrorTips("certId","证件号不能为空!");
@ -81,8 +81,8 @@
var mobile = getItemValue(0,getRow(0),"mobile");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
alert("手机号不能为空!");
return false;
// alert("手机号不能为空!");
return true;
}
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(mobile)){

View File

@ -303,7 +303,6 @@
setItemValue(0,0,"firstopinion","");
$("#FIRSTOPINION").attr("disabled","disabled");
}
changeFirstChoice();
})
function checkCertId(){//校验证件号

View File

@ -54,7 +54,7 @@
var certId = getItemValue(0,getRow(0),"certid");
if(certId==""){
setErrorTips("certId","证件号不能为空!");
return false;
return true;
}
if(certId.length!=18){
setErrorTips("certid","身份证必须是18位");
@ -73,9 +73,9 @@
function checkTel(){//校验共同申请人手机号格式
var tel = getItemValue(0,getRow(0),"tel");
if(tel==""){
setErrorTips("tel","手机号不能为空!");
// setErrorTips("tel","手机号不能为空!");
//alert("手机号不能为空!");
return false;
return true;
}
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(tel)){
@ -99,9 +99,9 @@
function checkSuphone(){//校验单位电话格式和不为空
var suphone = getItemValue(0,getRow(0),"suphone");
if(suphone==""){
setErrorTips("suphone","单位电话不能为空!");
// setErrorTips("suphone","单位电话不能为空!");
//alert("单位电话不能为空!");
return false;
return true;
}
if(CheckPhoneCode(suphone)){
setErrorTips("suphone","");

View File

@ -365,8 +365,8 @@
var mobile = getItemValue(0,getRow(0),"mobile");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
alert("手机号不能为空!");
return false;
// alert("手机号不能为空!");
return true;
}
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(mobile)){
@ -414,12 +414,12 @@
return;
}
} */
if(CheckPhoneCode(workTel)){
}else{
setErrorTips("WORKTEL","公司电话格式不正确!");
//alert("公司电话格式不正确!");
return;
}
// if(CheckPhoneCode(workTel)){
// }else{
// setErrorTips("WORKTEL","公司电话格式不正确!");
// //alert("公司电话格式不正确!");
// return;
// }
<%-- var idexpiry=getItemValue(0,getRow(),"IDEXPIRY");
var date1 = "<%=dateString%>";
@ -693,8 +693,8 @@
function checkEmergencyContactTel(){//校验紧急联系人1的电话格式
var mobile = getItemValue(0,getRow(0),"EMERGENCY_CONTACT_TEL");
if(mobile==""){
setErrorTips("EMERGENCY_CONTACT_TEL","电话不能为空!");
return false;
// setErrorTips("EMERGENCY_CONTACT_TEL","电话不能为空!");
return true;
}
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(mobile)){
@ -709,8 +709,8 @@
function checkREMARK(){//校验紧急联系人2的电话格式
var mobile = getItemValue(0,getRow(0),"REMARK");
if(mobile==""){
setErrorTips("REMARK","电话不能为空!");
return false;
// setErrorTips("REMARK","电话不能为空!");
return true;
}
var phone = /^[1][3,4,5,7,8][0-9]{9}$/;
if(phone.test(mobile)){

Binary file not shown.