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

📄 managerratifier.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="company" class="src.wuyang.Company" 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><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" >
  <tr> 
    <td valign="top" > 
<br><br><blockquote>
<% 
/*
	0 销售开票申请单
	1 调拨申请单
	2 采购申请单
	3 易耗品采购申请单
	5 合同
	6 进出口合同
*/
	String flag[]={"销售开票申请单","调拨申请单","采购申请单","易耗品采购申请单","","合同","进出口合同"};
	String str[]={"SlipRatifier.jsp","AllocatRatify.jsp","PurchRatify.jsp","UllageRatifier.jsp","","ContractRatifier.jsp","ImportContractRatifyD.jsp"};
	String str2[]={"slipId","allocatId","purchId","ullageId","","contractId","contractId"};
	
	String whereClause="state=1";
	operation.query(whereClause,"");
%>

        <table width="88%" border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC" cellpadding="0" cellspacing="0">
        <tr bgcolor="#949b93"> 
          <td class="text"> 
            <div align="center"><b>凭证</b></div>
          </td>
          <td class="text"> 
            <div align="center"><b>凭证类型</b></div>
          </td>
          <td class="text"> 
            <div align="center"><b>申请人</b></div>
          </td>
          <td class="text"> 
            <div align="center"><b>部门</b></div>
          </td>
        </tr>
        <%
	while (operation.next()>0) {
		employee.load(operation.getProposer());
		dept.load(operation.getDeptId());
%>
        <tr> 
          <td class="textb"><a href="<%=str[operation.getReceiptType()]%>?<%=str2[operation.getReceiptType()]%>=<%=operation.getReceiptId()%>&type=2"><%=operation.getReceiptId()%></a></td>
          <td class="textb"><%=flag[operation.getReceiptType()]%></td>
<%		if (operation.getReceiptType() == 1) {
%>
     	  <td class="textb" align="center"><%=operation.getProposer()%></td>
<%		} else { 
%>
     	  <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 + -