⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rlzy_daxg.aspx

📁 OA自动化办公系统,就是OA自动化办公系统
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="rlzy_daxg.aspx.cs" Inherits="rlzy_daxg" %>


<%@ Register Assembly="WebDate" Namespace="WebDate" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>档 案 修 改</title>
<link href="../css/link.css" type="text/css" />
<style type="text/css">
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.style2 {font-size: 12px}
.style2 {font-size: 12px}
-->
</style>
<link href="../css/link.css" type="text/css" />
<style type="text/css">
<!--
.style3 {color: #FFFFFF}
.style4 {color: #FF0000}
.tx {height: 16px; width: 30px; border-color: black black #000000; border-top-width: 0px; border-right-width: 0px; border-

bottom-width: 1px; border-left-width: 0px; font-size: 9pt; background-color: #eeeeee; color: #0000FF}
-->
</style>
<script type="text/javascript" language="JavaScript">
<!--
function check() 
{
if(document.Form1.txtNumber.value=="")
{
    alert ("请填写编号!")
    document.Form1.txtNumber.focus()  
    return false
}

  var canceled = false;
if (document.Form1.txtName.value=="") 
{
alert ("请输入姓名!")
document.Form1.txtName.focus()
return false
}

if(document.Form1.txtName.value.length <2) 
{
alert ("姓名需要至少2个字符!")
document.Form1.txtName.value = "";
document.Form1.txtName.focus()

return false
}

if (document.Form1.ddGender.value=="0") {
alert ("请选择性别!")
document.Form1.ddGender.focus()
return false
}

if (document.Form1.txtBloodtype.value=="0") {
    alert ("请选择血型!")
    document.Form1.txtBloodtype.focus()
    return false
}


if(document.Form1.txtStature.value !="")
{
    var Stature = document.Form1.txtStature.value;
    //验证是否是数字
    if(isNaN(Stature))
    {
        alert("身高必须是数字!")
        document.Form1.txtStature.value = "";
        document.Form1.txtStature.focus()
        return false;
    }
}

if(document.Form1.txtAvoirdupois.value !="")
{
    var Avoirdupois = document.Form1.txtAvoirdupois.value;
    //验证是否是数字
    if(isNaN(Avoirdupois))
    {
        alert("体重必须是数字!")
        document.Form1.txtAvoirdupois.value = "";
        document.Form1.txtAvoirdupois.focus()
        return false;
    }
}

if(document.Form1.txtMobile.value!="")
{
    var mobile = document.Form1.txtMobile.value;
    var myreg = /^(((13[0-9]{1})|159|(15[0-9]{1}))+\d{8})$/;
    if(mobile.length!=11)
    {
        alert("请输入合法的手机号码位数!");
        document.Form1.txtMobile.value = "";
        document.Form1.txtMobile.focus();
        return false;
    }   
    if(!myreg.test(mobile))
    {
        alert("请输入合法的手机号码!");
        document.Form1.txtMobile.value = "";
        document.Form1.txtMobile.focus();
        return false;
    }

}

if(document.Form1.txtEMail.value !="")
{
    var pattern = /^([a-z0-9A-Z]+[-|\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\.)+[a-zA-Z]{2,}$/;
    var b = pattern.test(document.Form1.txtEMail.value);
    if(b)
    {  
    }else
    {
        alert("eMail格式不正确! 如: wc840302@163.com"); 
        document.Form1.txtEMail.value = "";
        document.Form1.txtEMail.focus()
        return false;
    }            
}

if(document.Form1.txtStatuscard.value !="")
{
    var num = document.Form1.txtStatuscard.value;
    if (isNaN(num)) 
    {
        alert("身份证必须是数字!");
        document.Form1.txtStatuscard.value = "";
        document.Form1.txtStatuscard.focus() 
        return false;
    } 
    if(num.length<15||num.length==16||num.length==17||num.length>18)
    {
        alert("身份证位数不对!"); 
        document.Form1.txtStatuscard.value = "";
        document.Form1.txtStatuscard.focus() 
        return false;
    }    
}  
  
if(document.Form1.txtPhone.value!="")
{
    var str=document.Form1.txtPhone.value;
    var reg=/(^[0-9]{3,4}\-[0-9]{3,8}$)|(^[0-9]{3,8}$)|(^\([0-9]{3,4}\)[0-9]{3,8}$)|(^0{0,1}13[0-9]{9}$)/
    if(reg.test(str))
    {
        alert("请输入合法的电话号码!如:01067231100");
        document.Form1.txtPhone.value = "";
        document.Form1.txtPhone.focus();
        return false;
    } 
    
}

if(document.Form1.txtPostalcode.value!="")
{ 
    var you = document.Form1.txtPostalcode.value;
    var bian = /^[0-9]{6}$/;
    if(!bian.test(you))
    {
        alert("请输入合法的邮编!");
        document.Form1.txtPostalcode.value = "";
        document.Form1.txtPostalcode.focus();
        return false;
    }
}
  
if(document.Form1.txtAddresspostalcode.value!="")
{ 
    var you = document.Form1.txtAddresspostalcode.value;
    var bian = /^[0-9]{6}$/;
    if(!bian.test(you))
    {
        alert("请输入合法的邮编!");
        document.Form1.txtAddresspostalcode.value = "";
        document.Form1.txtAddresspostalcode.focus();
        return false;
    }
}

if(document.Form1.txtFamilyPhone.value!="")
{
    var str=document.Form1.txtFamilyPhone.value;
    var reg=/(^[0-9]{3,4}\-[0-9]{3,8}$)|(^[0-9]{3,8}$)|(^\([0-9]{3,4}\)[0-9]{3,8}$)|(^0{0,1}13[0-9]{9}$)/
    if(reg.test(str))
    {
        alert("请输入合法的电话号码!如:01067231100");
        document.Form1.txtFamilyPhone.value = "";
        document.Form1.txtFamilyPhone.focus();
        return false;
    } 
    
}


}
-->
</script>


</head>
<body>

  <form id="Form1" name="Form1" method="post" action="" onsubmit="return check()" runat="server">
    <table width="96%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
      <tr>
        <td width="6" height="21"><img alt="" src="../images/images_wc/leftlin.gif" width="6" height="21" /></td>
        <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style1">档 案 录 入

</span></span></div></td>
        <td width="6" height="21"><img alt="" src="../images/images_wc/rightlin.gif" width="6" height="21" /></td>
      </tr>
    </table>
    <table width="96%" border="0" cellpadding="3" cellspacing="1" bgcolor="#5AAE18">
      <tr bgcolor="#FFFFFF">
        <td width="15%"><div align="right"><span class="style2"><span class="note">编 号:</span></span><span class="style2"><span 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -