📄 empmain_payset_edit_process.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%
EmpID = request.form("EmpID")
jiben = request.form("jiben")
if jiben = "" then jiben = "0"
koushui = request.form("koushui")
if koushui = "" then koushui = "0"
yanglao = request.form("yanglao")
if yanglao = "" then yanglao = "0"
yiliao = request.form("yiliao")
if yiliao = "" then yiliao = "0"
shiye = request.form("shiye")
if shiye = "" then shiye = "0"
gongjijin = request.form("gongjijin")
if gongjijin = "" then gongjijin = "0"
jiangjin = request.form("jiangjin")
if jiangjin = "" then jiangjin = "0"
qita = request.form("qita")
if qita = "" then qita = "0"
degree = request.form("degree")
if degree = "" then degree = "0"
%>
<%
Set MM_editCmd = Server.CreateObject("ADODB.Command")
MM_editCmd.ActiveConnection = MM_EmpMain_STRING
%>
<%
if request.Form("ProcessType") = "insert" then
MM_editQuery = "insert into payset (EmpID,jiben,koushui,yanglao,yiliao,shiye,gongjijin,jiangjin,qita,degree) values ('"&EmpID&"','"&jiben&"','"&koushui&"','"&yanglao&"','"&yiliao&"','"&shiye&"','"&gongjijin&"','"&jiangjin&"','"&qita&"','"°ree&"')"
else
MM_editQuery = "update payset set jiben='"&jiben&"',koushui='"&koushui&"',yanglao='"&yanglao&"',yiliao='"&yiliao&"',shiye='"&shiye&"',gongjijin='"&gongjijin&"',jiangjin='"&jiangjin&"',qita='"&qita&"',degree='"°ree&"' where EmpID = "&EmpID&""
end if
%>
<%
MM_editCmd.CommandText = MM_editQuery
MM_editCmd.Execute
call fnCreateLog("设定工资")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<script>
alert("修改资料成功!")
window.location="EmpMain_paySet_Edit.asp?ID=<%=EmpID%>"
window.history.back()
</script>
</head>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -