📄 empmain_payset_edit.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%call fnCheckRight("payInfo","2")%>
<%
Dim paySet__MMColParam
paySet__MMColParam = "1"
If (Request.QueryString("ID") <> "") Then
paySet__MMColParam = Request.QueryString("ID")
End If
%>
<%
Dim paySet
Dim paySet_numRows
Set paySet = Server.CreateObject("ADODB.Recordset")
paySet.ActiveConnection = MM_EmpMain_STRING
paySet.Source = "SELECT * FROM PaySet WHERE EmpID = " + Replace(paySet__MMColParam, "'", "''") + ""
paySet.CursorType = 0
paySet.CursorLocation = 2
paySet.LockType = 1
paySet.Open()
paySet_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Pay_numRows = Pay_numRows + Repeat1__numRows
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>调薪记录</title>
<link rel="stylesheet" href="CSS/SellWellWeb.css" type="text/css">
<script language="javascript" src="js_Lib/fnCheckForm.js"></script>
</head>
<body class="body">
<form method="POST" action="EmpMain_paySet_Edit_Process.asp" name="form1">
<fieldset style="padding: 2" class="fiedset"> <legend>薪资设定</legend>
<table width="98%" border="1" align="center" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" class="table">
<%
if not paySet.eof then
jiben = (paySet.Fields.Item("jiben").Value)
koushui=(paySet.Fields.Item("koushui").Value)
yanglao= (paySet.Fields.Item("yanglao").Value)
yiliao=(paySet.Fields.Item("yiliao").Value)
shiye=(paySet.Fields.Item("shiye").Value)
gongjijin=(paySet.Fields.Item("gongjijin").Value)
jiangjin=(paySet.Fields.Item("jiangjin").Value)
qita=(paySet.Fields.Item("qita").Value)
dengji=(paySet.Fields.Item("degree").Value)
else
ProcessType = "insert"
end if
%>
<tr>
<td width="25%" class="Caption"><div align="right">工资:</div></td>
<td width="25%" class="ValueArea"><input name="jiben" type="text" class="Text" id="jiben" value="<%=jiben%>" Need="1" DataType="Number"></td>
<td width="25%" class="Caption"><div align="right">扣税:</div></td>
<td width="25%" class="ValueArea"><input name="koushui" type="text" class="Text" id="koushui" value="<%=koushui%>" Need="1" DataType="Number"></td>
</tr>
<tr>
<td height="26" class="Caption"> <div align="right">养老保险:</div></td>
<td class="ValueArea"><input name="yanglao" type="text" class="Text" id="yanglao" value="<%=yanglao%>" DataType="Number"></td>
<td class="Caption"><div align="right">医疗保险:</div></td>
<td class="ValueArea"><input name="yiliao" type="text" class="Text" id="yiliao" value="<%=yiliao%>" DataType="Number"></td>
</tr>
<tr>
<td class="Caption"><div align="right">失业保险:</div></td>
<td class="ValueArea"><input name="shiye" type="text" class="Text" id="shiye" value="<%=shiye%>" DataType="Number"></td>
<td class="Caption"><div align="right">住房公积金:</div></td>
<td class="ValueArea"><input name="gongjijin" type="text" class="Text" id="gongjijin" value="<%=gongjijin%>" DataType="Number"></td>
</tr>
<tr>
<td class="Caption"><div align="right">奖金:</div></td>
<td class="ValueArea"><input name="jiangjin" type="text" class="Text" id="jiangjin" value="<%=jiangjin%>" DataType="Number"></td>
<td class="Caption"><div align="right">其他扣除:</div></td>
<td class="ValueArea"><input name="qita" type="text" class="Text" id="qita" value="<%=qita%>" DataType="Number"></td>
</tr>
<tr>
<td class="Caption">工资等级:</td>
<td class="ValueArea"><input name="degree" type="text" class="Text" id="degree" value="<%=dengji%>" DataType="Number"></td>
<td class="Caption"> </td>
<td class="ValueArea"> </td>
</tr>
</table>
</fieldset>
<div align="right">
<input type="hidden" name="EmpID" value="<%=request("ID")%>">
<input type="hidden" name="ProcessType" value="<%=ProcessType%>">
<input type="button" value="保存设定" name="B12" class="button" onClick="fnCheckForm()">
<input type="button" value="返回" name="B1" class="button" onClick="window.history.back()">
</div>
</form>
</body>
</html>
<%
paySet.Close()
Set paySet = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -