📄 demand_new.asp
字号:
<!--#include file="../config.asp"-->
<!--#include file="../inc/check_login.asp"-->
<!--#include file="../inc/functions.asp"-->
<%
Application_ID = 1001400 '本功能编号,含义请查看编码表
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="demand_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>
<tr>
<td bgcolor="#EFEFEF">需求项目</td><td><input type="text" name="Demand_Item" size="16"></td>
<td bgcolor="#EFEFEF">大约金额</td><td><input type="text" name="Demand_Account" size="16"></td>
</tr>
<tr>
<td bgcolor="#EFEFEF">简要说明</td><td colspan="3"><input type="text" name="Description" size="50"></td>
</tr>
</table>
<input type="submit" name="Submit" value="确定添加">
</form>
</body>
</html>
<script language="JavaScript" type="text/javascript">
function CheckInput(){
var Demand_Item = document.frm.Demand_Item.value;
var Demand_Account = document.frm.Demand_Account.value;
//客户名称
if(Demand_Item.length < 1){
alert('请正确填写需求项目');
return false;
}else{
//行业
if(Demand_Account.length < 1){
alert('请正确填写需求金额');
return false;
}else{
return true;
}
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -