📄 docs_new.asp
字号:
<!--#include file="../config.asp"-->
<!--#include file="../inc/check_login.asp"-->
<!--#include file="../inc/functions.asp"-->
<%
Application_ID = 1002000 '本功能编号,含义请查看编码表
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">
<script language="JavaScript" type="text/javascript" src="../js/functions.js"></script>
</head>
<body>
<%
Customer_ID = request("Customer_ID")
if not IsNot(Customer_ID,"n") then
response.write "客户编号丢失"
response.end
end if
%>
<form action="docs_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>
<tr>
<td bgcolor="#EFEFEF">文档名称</td>
<td><input type="text" name="Document_Title" size="35"></td>
<td bgcolor="#EFEFEF">提供者</td>
<td><input type="text" name="Contact_Person_Name" size="16" readonly onClick="return getCustomerContactPersonID(<%= Customer_ID %>);"><input type="hidden" name="Contact_Person_ID" size="5" readonly onClick="return getCustomerContactPersonID(<%= Customer_ID %>);"></td>
</tr>
<tr>
<td bgcolor="#EFEFEF">主要内容<br>少于 4KB</td>
<td colspan=3>
<textarea cols="50" rows="3" name="Document_Content"></textarea>
</td>
</tr>
</table>
<input type="submit" name="Submit" value="确定增加">
</form>
</body>
</html>
<script language="JavaScript" type="text/javascript">
function CheckInput(){
var Document_Title = document.frm.Document_Title.value;
if(Document_Title.length < 1){
alert('请正确填写文档名称。');
return false;
}else{
return true;
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -