📄 checkaudit.asp
字号:
<!--#include file="../conndb.asp"-->
<html>
<head>
<title>审核库存盘点信息</title>
</head>
<body>
<%
Dim cid
cid = Request.QueryString("cid")
sql = "Update StoreCheck Set Status='审核' Where ChkId=" & cid
Set rs = Conn.Execute(sql)
'读取盘点数量和商品编号
sql = "Select * From StoreCheck Where ChkId=" & cid
Set rs = Conn.Execute(sql)
cknum = rs("ChkNum") '盘点数量
pid = rs("ProId") '盘点商品编号
'审核后需要更新商品库存数量
sql = "Update Product Set Quantity=" & cknum & " Where ProId=" & pid
Set rs = Conn.Execute(sql)
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 + -