📄 incaudit.asp
字号:
<!--#include file="../../conndb.asp"-->
<html>
<head>
<title>审核资料入库信息</title>
</head>
<body>
<%
Dim InId,InCount,InfoNo
InId = Request.QueryString("id")
sql = "Update InfoIn Set Flag=1 Where InId=" & InId
Set rs = Conn.Execute(sql)
'读取入库数量
sql = "Select * From InfoIn Where InId=" & InId
Set rs = Conn.Execute(sql)
If Not rs.EOF Then
InCount = rs("InCount") '入库数量
InfoNo = rs("InfoNo") '资料编号
'将入库数量添加到资料信息中
sql = "Update Information Set ICount=ICount+" & InCount & " Where InfoNo='" & InfoNo & "'"
Set rs = Conn.Execute(sql)
End If
Response.Write "<h3>资料入库信息成功审核</h3>"
Set rs = Nothing
%>
</body>
<script language="javascript">
// 刷新父级窗口,延迟此关闭
opener.location.reload();
setTimeout("window.close()",600);
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -