📄 jungongsave.asp
字号:
<%
if Session("ljl_liujinlu")="" or Session("ljl_grad")="" then%>
<script language=vbscript>
MsgBox "错误:非法用户!"
location.href = "login.asp"
</script>
<%end if%>
<!--#include file="bkconn.asp"-->
<%
'获取数据
sgonghao=Session("ljl_add")
sid=request.form("id")
syuanyin=request.form("yuanyin")
n=Year(date())
y=Month(date())
r=Day(date())
s=Hour(time())
f=Minute(time())
m=Second(time())
if len(y)=1 then y="0" & y
if len(r)=1 then r="0" & r
if len(s)=1 then s="0" & s
if len(f)=1 then f="0" & f
if len(m)=1 then m="0" & m
ssj=n & "-" & y & "-" & r & " " & s & ":" & f & ":" & m
'检验数据合法性
if sid="" or syuanyin="" then
%>
<script language=vbscript>
MsgBox "错误:提交的表单中不能有空,请返回核对!"
location.href = "zuofei.asp"
</script>
<%else
'获取数据
conn.execute"update 出库 set 是否作废=true,作废时间='"&ssj&"',作废原因='"&syuanyin&"',作废人='"&sgonghao&"' where id="&sid
%>
<script language=vbscript>
MsgBox "系统提示:竣工处理完毕处理成功!"
location.href = "chukulistnew.asp?id=<%=sid%>"
</script>
<%end if
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -