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

📄 deptratifier.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<jsp:useBean id="employee" class="src.wuyang.Employee" scope="page"/>
<jsp:useBean id="dept" class="src.wuyang.Department" scope="page"/>
<jsp:useBean id="operation" class="src.wuyang.OperationInfoTra" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>

<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" > 
	<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<%	}
%>


<html>
<head>
<title>审核</title>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<% 
/*
	0 销售开票申请单
	1 调拨申请单
	2 采购申请单
	3 易耗品采购申请单
	5 合同
	6 进出口合同
*/
	String flag[]={"销售开票申请单","调拨申请单","采购申请单","易耗品采购申请单","","合同","进出口合同"};
	String str[]={"SlipRatifier.jsp","AllocatRatify.jsp","PurchRatify.jsp","UllageRatifier.jsp","","ContractRatifier.jsp","ImportContractConfirmD.jsp"};
	String str2[]={"slipId","allocatId","purchId","ullageId","","contractId","contractId"};
	String whereClause="deptId='" + global.deptId + "' and state=0";
	operation.query(whereClause,"");
%>
<body bgcolor="#949B93" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="1" height="90%" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#616860" bordercolordark="#CCCCCC" bgcolor="#4c7171" class="textb">
  <tr> 
    <td valign="top" > 
<br><br><blockquote>
        <table width="88%" border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC" cellpadding="0" cellspacing="0">
          <tr bgcolor="#949b93"  class="text"> 
            <th>凭证</th>
            <th>凭证类型</th>
            <th>申请人</th>
            <td>
              <div align="center"><b>部门</b></div>
            </td>
  </tr>
<%
	while (operation.next()>0) {
		employee.load(operation.getProposer());
		dept.load(operation.getDeptId());
%>
  <tr  class="textb">
     <td><a href="<%=str[operation.getReceiptType()]%>?<%=str2[operation.getReceiptType()]%>=<%=operation.getReceiptId()%>&type=1"><%=operation.getReceiptId()%></a></td>
     <td class="textb" align="center"><%=flag[operation.getReceiptType()]%></td>
     <td class="textb" align="center"><%=employee.getEmpName()%></td>
     <td class="textb" align="center"><%=dept.getDeptName()%></td>
  </tr>
<%
	}
%>
</table>
</blockquote>
</td>
</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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