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

📄 handover_input.asp

📁 物业管理和办公自动化系统
💻 ASP
字号:
<%
'##############################################################################
'#
'#		文 件 名	 : handover_input.asp
'#
'#
'#		创 建 人	 : yaoxiaohui
'#  	日   期	 : 2002-11-16
'#
'#		修改历史  : ****年**月**日 ******
'#      修改内容  : **************************************************
'#
'#		功能描述	 : 移交入库
'#  	版   本	 : v1.0
'#	
'#	    Copyright(c) 2001-2002 上海阿尔卡特网络支援系统有限公司
'#
'##############################################################################
'------------------------------------------------------------------------------
'----   服务器端设置
'------------------------------------------------------------------------------
option explicit
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>
<!-- include files begin -->

<!-- #include file="../include/common.inc" -->
<!-- #include file="../include/recordlist.inc" -->
<!-- #include file="../include/commonpage.inc" -->

<!-- #include file="handover_input.inc" -->

<!-- include files end -->
<%
call CheckSecurity()
'------------------------------------------------------------------------------
'----   用户权限检查
'------------------------------------------------------------------------------
if hasright(ID_STOCK) < RIGHT_WRITE  then
	Response.Clear
	Response.Redirect "../include/error.asp?error=只有仓库管理员才能进行移入操作!"
	Response.end
end if
'##############################################################################
'----   服务器端代码
'##############################################################################
dim conn
set conn = DBConnection

'******************************************************************************
'----   参数
'------------------------------------------------------------------------------
'' 移交单位
dim pDepartment		: pDepartment = GetParam("department")

'' 接收单位
dim pDepotID    	: pDepotID = GetParam("depot_id")
if IsEmpty(pDepotID)       then pDepotID = -1

'' 移交人
dim pHandover		: pHandover = GetParam("handover")

'' 接收人
dim pReceiver		: pReceiver = GetParam("receiver")

'' 移交日期
dim pOpDate         : pOpDate   = GetParam("opdate")

'' 物品类别
dim pTypeID      	: pTypeID = GetParam("type_id")
if IsEmpty(pTypeID)       then pTypeID = -1

'******************************************************************************
'----   定义
'------------------------------------------------------------------------------
dim pGoodsName     :  pGoodsName  = GetParam("goods_name")
dim pModel         :  pModel      = GetParam("model")
dim pUnit          :  pUnit       = GetParam("unit")
dim pQuantity      :  pQuantity   = GetParam("quantity")
dim pRemark        :  pRemark     = GetParam("remark")


if UCase(Request.ServerVariables("REQUEST_METHOD") = "POST") then
	dim sFormAction, choose
	sFormAction = GetParam("FormAction")
	choose = GetParam("choose")
	select case sFormAction
		case "add" :
			call AddinSession()
		case "handover" :
			call HandoverInput()
      case "output" :
	    call Output(choose)
	  case "cancel" :
	    call Cancel()
	case "cancel1" :
	    call Cancel1()
    end select 
end if
'******************************************************************************
'----   分页相关的变量定义
'------------------------------------------------------------------------------
dim sSQL, sWhere, sOrderby
Dim sFileName			: sFileName			= "handover_input.asp"
Dim iRecordsPerPage		: iRecordsPerPage	= 5                        ' 一页10行
Dim iCols				: iCols				= 7                         ' 7列
'******************************************************************************
%>

<html>
<head>
<title>上海信息大楼 Shanghai Information Tower</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../include/common.css" type="text/css">

<!-- 日历 -->
<IFRAME style="display:none;position:absolute;width:148;height:194;z-index=100" ID="CalFrame" MarginHeight=0 MarginWidth=0 noresize frameborder=0 scrolling=no src="../include/cal/calendar.htm"></IFRAME>
<script language="javascript" src="../include/cal/calendar.js"></script>
<script for=document event="onclick()">
<!--
document.all.CalFrame.style.display="none";
//-->
</script>
<!-- 日历 -->

<style type="text/css">
.tdlist		{border-width:0px}
.tdHead	    {border-width:0px}
</style>

<script language="javascript" src="handover_input.js"></script>

</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="../images/bg/bg0.jpg">
<br>

<%
Response.Write OuterTableHeader
Response.Write HeaderWithMenu
Response.Write InnerTableHeader
'******************************************************************************
'----   主体从这里开始
'------------------------------------------------------------------------------
Response.Write HandoverDetail
Response.Write TableHeader
Response.Write TableRecords
Response.Write SheetShow
Response.Write ActionLink
Response.Write TableLink
'------------------------------------------------------------------------------
'----   主体到这里结束
'******************************************************************************
Response.Write InnerTableTailer
Response.Write Footer
Response.Write OuterTableTailer
Disconnect(conn)
%>

</body>
</html> 

⌨️ 快捷键说明

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