📄 contact_person_new.asp
字号:
<!--#include file="../config.asp"-->
<!--#include file="../inc/check_login.asp"-->
<!--#include file="../inc/functions.asp"-->
<%
Application_ID = 1001700 '本功能编号,含义请查看编码表
if not CheckAuth(Session("Employee_ID"),Application_ID) then '验证权限
Server.Transfer "../err/un_authorized.htm"
response.end
end if
%>
<!--**************身份验证部分****************-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<%
Customer_ID = request("Customer_ID")
if not IsNot(Customer_ID,"n") then
response.write "客户编号丢失"
response.end
end if
%>
<form action="contact_person_new_exe.asp" method="post" name="frm" onSubmit="return CheckInput();">
<input type="hidden" name="Customer_ID" value="<%=Customer_ID%>">
添加客户联系人
<hr size=1>
<table border=0 cellpadding=1 cellspacing=1 width="100%">
<tr>
<td bgcolor="#EFEFEF">姓名</td><td><input type="text" name="Contact_Person_Name" size="16"></td>
<td bgcolor="#EFEFEF">性别</td>
<td>
<input type="radio" name="Gender" value="1" checked>男
<input type="radio" name="Gender" value="0">女
</td>
</tr>
<tr>
<td bgcolor="#EFEFEF">部门</td><td><input type="text" name="Dept" size="16"></td>
<td bgcolor="#EFEFEF">职务</td><td><input type="text" name="Rank" size="16"></td>
</tr>
<tr>
<td bgcolor="#EFEFEF">电话</td><td><input type="text" name="Tel" size="16"></td>
<td bgcolor="#EFEFEF">传真</td><td><input type="text" name="Fax" size="16"></td>
</tr>
<tr>
<td bgcolor="#EFEFEF">手机</td><td><input type="text" name="Mobile" size="16"></td>
<td bgcolor="#EFEFEF">电子邮件</td><td colspan="5"><input type="text" name="Email" size="32"></td>
</tr>
</table>
<input type="submit" name="Submit" value="确定添加">
</form>
</body>
</html>
<script language="JavaScript" type="text/javascript">
function CheckInput(){
var Contact_Person_Name = document.frm.Contact_Person_Name.value;
if(Contact_Person_Name.length < 1){
alert('请正确填写联系人姓名。');
return false;
}else{
return true;
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -