⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gongzi.asp

📁 企业信息化管理系统:针对的是一个计算机配件生产公司为背景实现的。
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/MainBorder.css" rel="stylesheet" type="text/css">
<title>信息显示</title>
<style type="text/css">
<!--
.STYLE1 {
	color: #FFFFFF;
	font-size: 16px;
	font-weight: bold;
}
-->
</style>
</head>
<style type="text/css">
<!--
#f1 {
	position: relative;
	top: 10px;
	left: 430px;
	width: 80px;
}
#f2 {
	position: relative;	
	top: -31px;	
	left: 510px;
	width: 80px;	
}
.STYLE4 {font-size: 14px}
-->
</style>
<body >
<!--#include file ="Connections/auto.asp"--> 
<%
	id=request.form("sid")
	syear=request.form("nian")
	smonth=request.form("yue")
%>
<% 
  sql1="select Name from Message where id='" & id &"'"
  set rs1=CN.execute(sql1)
 
  Sname = "select * from gongzi where ( id='" &id &"' and syear='" & syear &"' and smonth='"& smonth &"' )"
  set RS=CN.execute(Sname) 
  if RS.eof then
%>
<script language="vbscript">
  alert("暂无工资信息")
</script>
<% 
    response.Redirect("gongzichx.asp")
  else
%>
<table width="200" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="500" height="270" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#0066FF" bgcolor="#336699">
  <tr>
     <td height="36" colspan="2"><div id="title" ><span class="STYLE1">
       <div align="center"><% response.write(rs1("Name"))%> 
         工资信息</div></span>
    </div></td>
  </tr>
  <tr>
    <td width="121" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">员工编号:&nbsp;</td>
    <td width="376" align="left" class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("ID"))%></td>
  </tr>
  <tr>
    <td align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">基本工资(元):&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("jbgz"))%> &nbsp;&nbsp;</td>
  </tr>
  <tr>
    <td align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'"">职务补贴(元):&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("zwbt"))%></td>
  </tr>
  <tr>
    <td align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">部门奖金(元):&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("jjin"))%></td>
  </tr>
  <tr>
    <td align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">扣除(元):&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("kc"))%></td>
  </tr>
  <tr>
    <td align="right"class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">税额(元):&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("shui"))%></td>
  </tr>
  <tr>
    <td align="right"class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">实发金额(元):&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("sf"))%></td>
  </tr>
  <tr>
    <td align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">年份:&nbsp;</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("syear"))%></td>
  </tr>
  <tr>
    <td align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">月份:</td>
    <td class="but1 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'">&nbsp;<% response.write(RS("smonth"))%></td>
  </tr>
</table>    
<p>
<div><center>
<form name="f1" action="Xgongzi.asp" method="post">
	<input type="hidden" name="sid" value=<%=RS("ID")%>>
	<input type="hidden" name="syear" value=<%=syear%>>
	<input type="hidden" name="smonth" value=<%=smonth%>>
	<input type="submit" class="s04" value="修改工资">
        <a href="Xgongzi.asp?sid=<%=RS("ID")%>&syear=<%=syear%>&smonth=<%=smonth%>" ></a>
</form></center>
	 </div>
<%
  end if
  rs1.close
  RS.close
  CN.close
%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -