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

📄 xfgongzi.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: 16px;
	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;	
}
-->
</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
%>
<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="fgongziz.asp" method="post">
<table width="402" height="272" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#336699">
  <tr>
     <td height="35" colspan="2" ><div class="STYLE1" id="title" >
       <div align="center"><% response.write(rs1("Name"))%> <input type="hidden" name="sid" value="<%=id%>">
       工资信息</div>
     </div></td>
  </tr>
  <tr>
    <td width="112" height="29" align="right" bgcolor="#FFFFFF">基本工资:&nbsp;</td>
    <td width="385" bgcolor="#FFFFFF">
      <input name="jbgz" type="text" value="0.0"></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#FFFFFF">职务补贴:&nbsp;</td>
    <td bgcolor="#FFFFFF">
      <input name="zwbt" type="text" value="0.0"></td>
  </tr>
  <tr>
    <td height="26" align="right" bgcolor="#FFFFFF">部门奖金:&nbsp;</td>
    <td bgcolor="#FFFFFF">
      <input name="jjin" type="text" value="0.0"></td>
  </tr>
  <tr>
    <td height="26" align="right" bgcolor="#FFFFFF">扣除:&nbsp;</td>
    <td bgcolor="#FFFFFF">
      <input name="kc" type="text" value="0.0"></td>
  </tr>
  <tr>
    <td height="27" align="right" bgcolor="#FFFFFF">税额:&nbsp;</td>
    <td bgcolor="#FFFFFF">
      <input name="shui" type="text" value="0.0"></td>
  </tr>
  <tr>
    <td height="26" align="right" bgcolor="#FFFFFF">年份:&nbsp;</td>
    <td bgcolor="#FFFFFF"><%=syear%><input type="hidden" name="syear" value="<%=syear%>"></td>
  </tr>
  <tr>
    <td height="28" align="right" bgcolor="#FFFFFF">月份:</td>
    <td bgcolor="#FFFFFF"><%=smonth%><input type="hidden" name="smonth" value="<%=smonth%>"></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("Fgongzi.asp")
%>

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

⌨️ 快捷键说明

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