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

📄 xgongzi.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 {
	font-size: 14px;
	color: #FFFFFF;
}
-->
</style>
</head>
<style type="text/css">
<!--
#f1 {
	position: relative;
	top: 10px;
	left: 430px;
	width: 80px;
}
#f2 {
	position: relative;	
	top: -31px;	
	left: 510px;
	width: 80px;	
}
.STYLE2 {font-size: 14px}
-->
</style>
<body >
<!--#include file ="Connections/auto.asp"--> 
<%
	id=request.form("sid")
	syear=request.form("syear")
	smonth=request.form("smonth") 
%>
<% 
  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 not RS.eof then
%>
<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>
<form name="form1" action="Xgongziz.asp" method="post">
<table width="500" border="0" cellspacing="1" bgcolor="#336699" cellpadding="0" align="center">
  <tr>
     <td height="30" colspan="2"><div id="title" >
       <div align="center" class="STYLE1"><% response.write(rs1("Name"))%> 
       工资信息</div>
     </div></td>
  </tr>
  <tr>
    <td width="169" height="26" align="right" bgcolor="#FFFFFF"><span class="STYLE2">基本工资:&nbsp;</span></td>
    <td width="331" bgcolor="#FFFFFF">
      <input type="text" name="jbgz" value="<% response.write(RS("jbgz"))%>"></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#FFFFFF"><span class="STYLE2">职务补贴:&nbsp;</span></td>
    <td bgcolor="#FFFFFF">
      <input type="text" name="zwbt" value="<% response.write(RS("zwbt"))%>"></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#FFFFFF"><span class="STYLE2">部门奖金:&nbsp;</span></td>
    <td bgcolor="#FFFFFF">
      <input type="text" name="jjin" value="<% response.write(RS("jjin"))%>"></td>
  </tr>
  <tr>
    <td height="26" align="right" bgcolor="#FFFFFF"><span class="STYLE2">扣除:&nbsp;</span></td>
    <td bgcolor="#FFFFFF">
      <input type="text" name="kc" value="<% response.write(RS("kc"))%>"></td>
  </tr>
  <tr>
    <td height="26" align="right" bgcolor="#FFFFFF"><span class="STYLE2">税额:&nbsp;</span></td>
    <td bgcolor="#FFFFFF">
      <input type="text" name="shui" value="<% response.write(RS("shui"))%>"></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#FFFFFF"><span class="STYLE2">实发金额:&nbsp;</span></td>
    <td bgcolor="#FFFFFF"> <%=response.write(RS("sf"))%></td>
  </tr>
  <tr>
    <td colspan="2" align="right" bgcolor="#FFFFFF">
	<input type="hidden" name="sid" value="<%=id%>">
	<input type="hidden" name="smonth" value="<%=smonth%>"><input type="hidden" name="syear" value="<%=syear%>"></td>
    </tr>
  <tr>
    <td height="40" colspan="2" align="right" bgcolor="#FFFFFF"><div align="center">
        <input name="Submit" type="submit" class="s04" value="修改工资">
        &nbsp;
        <input name="Submit" type="submit" class="s04" value="重新填写">
    </div></td>
    </tr>
</table>    
</form>
<%else  %>    
<script language="javascript">
  
  yes =window.confirm("还没有工资!")
</script>
<% 
    response.Redirect("Agongzi.asp")
%>

<%
  end if
  rs1.close
  RS.close
  CN.close
%>
</body>
</html>

⌨️ 快捷键说明

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