base_rec_new.asp

来自「=== ==ASP销售管理系统」· ASP 代码 · 共 55 行

ASP
55
字号
<!--#include file="../config.asp"-->
<!--#include file="../inc/check_login.asp"-->
<!--#include file="../inc/functions.asp"-->
<%
Application_ID = 3000800	'本功能编号,含义请查看编码表
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>
<%
Contract_ID = request("Contract_ID")
if not IsNot(Contract_ID,"n") then
	response.write "合同编号丢失或不正确"
	response.end
end if
%>
<form name="frm" action="base_rec_new_exe.asp" method="post" onSubmit="return CheckInput();">
<input type="hidden" name="Contract_ID" value="<%= Contract_ID %>">
添加基础业务记录
<hr size=1>
<table bgcolor="#ffffff" border=0 cellpadding=1 cellspacing=1>
<tr>
	<td bgcolor="#EFEFEF">添加日期</td><td><input type="text" name="Rec_Date" size="12" value="<%=date()%>"></td>	
	<td bgcolor="#EFEFEF">金额(¥)</td><td><input type="text" name="Account" size="16"></td>
</tr>
<tr>
	<td bgcolor="#EFEFEF">项目名称</td><td colspan=3><input type="text" name="Rec_Content" size="50"></td>
</tr>
</table>
<input type="submit" name="Submit" value="确定添加">
</form>
</body>
</html>
<script language="JavaScript" type="text/javascript">
	function CheckInput(){
		var Account = document.frm.Account.value;
		if(Account.length < 1){
			alert('请正确填写金额。');
			return false;
		}else{
			return true;
		}		
	}
</script>

⌨️ 快捷键说明

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