📄 collectiondetail.asp
字号:
<!--#include file="../config.ini" -->
<!--#include file="../commfunction.inc" -->
<%
Dim objcheck
Set objcheck=Server.CreateObject("SmartSales.CheckFunction")
objcheck.CheckUserFunction "payment","read"
set objcheck=nothing
dim conn
dim rs
set conn=server.CreateObject("adodb.connection")
set rs=server.CreateObject("adodb.recordset")
conn.Open connstring
rs.Open "select * from v_collection where collectionid="&request("collectionid"),conn,1,1
if rs.EOF then
Response.Write "记录不存在"
Response.End
end if
%>
<html>
<head>
<LINK href="../global.css" rel=STYLESHEET type=text/css>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs("collectionno")%></title>
</head>
<script language="JavaScript">
function window_onload()
{
//window.moveTo(-2,-2);
//window.resizeTo(screen.availWidth, screen.availHeight);
}
</script>
<body bgcolor="#ffffff" onload="window_onload()">
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="35%"><b><font class="title">收款:<%=rs("collectionno")%></font></b></td>
<td width="65%"> </td>
</tr>
<tr >
<td height="16" colspan="2" background="../images/title.gif"></td>
</tr>
<tr>
<td height=4></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="DECFAD">
<tr>
<td align=center height=20 bgcolor="DEDFDE">收款编号</td>
<td align=center bgcolor="efefef"><%=rs("collectionno")%></td>
<td align=center bgcolor="DEDFDE">客户</td>
<td align=center bgcolor="efefef">
<%=rs("account")%>
</td>
<td align=center bgcolor="DEDFDE">状态</td>
<td align=center bgcolor="efefef"><%=rs("collectionstatus")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align=center height=18 bgcolor="DEDFDE">收款日期</td>
<td align=center bgcolor="efefef"><%=rs("receiveddate")%></td>
<td align=center bgcolor="DEDFDE">金额</td>
<td align=center bgcolor="efefef"><%=formatnumber(rs("amount"),2)%></td>
<td align=center bgcolor="DEDFDE">收款类型</td>
<td align=center bgcolor="efefef"><%=rs("collectiontype")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align=center height=18 bgcolor="DEDFDE">描述</td>
<td colspan="5" align=center bgcolor="efefef"> <div align="left"><%=rs("description")%></div></td>
</tr>
</table>
<%
rs.Close
set rs=nothing
conn.Close
set conn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -