业务申请担保人信息页面添加手机号字段校验
This commit is contained in:
parent
c400346ddf
commit
74a142d630
@ -34,8 +34,22 @@
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
function checkTel(){
|
||||
var mobile =getItemValue(0,getRow(0),"mobile");
|
||||
if(CheckPhoneCode(mobile)){
|
||||
return true;
|
||||
}else{
|
||||
alert("手机号格式不正确!");
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function save(){
|
||||
as_save(0,"goBack()");
|
||||
if(checkTel()){
|
||||
as_save(0,"goBack()");
|
||||
}
|
||||
}
|
||||
|
||||
function goBack(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user