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

📄 approvalstatmessage.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %> 
<%@ page import="cn.com.aheadsoft.recordset.FinanceExpenseAccountRecordSet" %> 
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<jsp:useBean id="userinfo" scope="session" class="cn.com.aheadsoft.util.UserInfo"/>
<jsp:useBean id="upm" scope="session" class="cn.com.aheadsoft.manage.UserPurviewManage"/>

<html>
<head> 
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>财务单据统计详细信息</title>  
<%
    String approvalStatType = request.getParameter("statType");
	String BillSum  = (String)request.getAttribute("BillSum");
	String MoneySum = (String)request.getAttribute("MoneySum");
	 
	String BeginDate = (String)request.getAttribute("statDateBegin");
    String EndDate = (String)request.getAttribute("statDateEnd");
%> 
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" >
 <tr height="8">
	<td class="trA">&nbsp;您的位置:财务管理 >> 财务审批 >> 单据统计 >> <font class="fontcolor">统计详细信息</font></td>
 </tr>
   <tr height="8"> 
    <td></td>
  </tr> 	  
	  <tr>
		<td align="center" > 	   
		  <table border="0" cellpadding="0" cellspacing="0" width="98%" align="center"  class="collapse"> 
			   <tr >			  
          <td class="tdA" colspan="9" >统计详细信息</td>		  
			   </tr> 
			<% 
				if(approvalStatType.equals("item")){
			%>
			   <tr >
				  
          <td width="5%" class="tdB" align="center" nowrap>报销单号</td>
          <!--李光文2004-03-04-->		        
				  <td width="15%" class="tdB" align="center">任务</td>		        
				  <td width="15%" class="tdB" align="center">审批类别</td>
				  <td width="15%" class="tdB" align="center">部门</td>
				  <td width="15%" class="tdB" align="center">报销人</td>
				  <td width="5%" class="tdB" align="center" nowrap>单据数</td>
				  <td width="15%" class="tdB" align="center">金额</td>
				  <td width="10%" class="tdB" align="center" nowrap>详细信息</td>
			  </tr> 		 
			  <% }%>
			  <%  
				if(approvalStatType.equals("dept")){
			  %>
			   <tr>
				  
          <td width="5%" class="tdB" align="center" nowrap>报销单号</td>
          <!--李光文2004-03-04-->		        
				  <td width="15%" class="tdB" align="center">部门</td>		        
				  <td width="15%" class="tdB" align="center">任务</td>
				  <td width="15%" class="tdB" align="center">审批类别</td>
				  <td width="15%" class="tdB" align="center">报销人</td>
				  <td width="5%" class="tdB" align="center" nowrap>单据数</td>
				  <td width="15%" class="tdB" align="center">金额</td>
				  <td width="10%" class="tdB" align="center" nowrap>详细信息</td>
			  </tr> 
 
			  <% }%>			  
			 <%  
				if(approvalStatType.equals("expenser")){
			 %>
			   <tr>
				  
          <td width="5%" class="tdB" align="center" nowrap>报销单号</td>
          <!--李光文2004-03-04-->		        
				  <td width="15%" class="tdB" align="center">报销人</td>		        
				  <td width="15%" class="tdB" align="center">任务</td>
				  <td width="15%" class="tdB" align="center">部门</td>
				  <td width="15%" class="tdB" align="center">审批类别</td>
				  <td width="5%" class="tdB" align="center" nowrap>单据数</td>
				  <td width="15%" class="tdB" align="center">金额</td>
				  <td width="10%" class="tdB" align="center" nowrap>详细信息</td>
			  </tr> 
 			   
			  
			  <%}%>
	  	<% 
            FinanceExpenseAccountRecordSet finxepenseinfoRecordset = (FinanceExpenseAccountRecordSet)request.getAttribute("AppStatInfo");
            if(finxepenseinfoRecordset != null && finxepenseinfoRecordset.size() > 0) {
                int num = 1;
               while(finxepenseinfoRecordset.next()) {
        %>
			 <% 
				if(approvalStatType.equals("item")){
			%>
			  <tr <%
		if(num%2==0){
		%> class="bgcolor"<%}%>>
				  <td width="5%" class="common" align="center" nowrap>BX4-<%
			
			String serialNum = StringFormat.Source2GB(finxepenseinfoRecordset.getEI_SerialNum()) ;
			int leng = 4;
			String formatNum = StringFormat.formatNum(serialNum,leng);
			out.println(formatNum);
			 
			 %></td><!--李光文2004-03-04-->				  
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_ItemName()) %></td>  		        
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_ApprovalKindName()) %></td>				  
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_DeptName()) %></td>   
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_UserName()) %></td>
				  <td width="5%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_BillSum()) %></td>
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_MoneySum()) %></td>
			  	  <td width="10%" class="common"  align="center" nowrap>
		  			<a href="/krm/servlet/FinExpenseAccountServlet?status=q&module=s&AccountID=<%=finxepenseinfoRecordset.getEI_ID()%>">查看</a> 
			  	  </td>
			  </tr>
			<% } %>	 
			<% 
				if(approvalStatType.equals("dept")){
			%>
			  <tr <%
		if(num%2==0){
		%> class="bgcolor"<%}%>>
				  <td width="10%" class="common" align="center" nowrap>BX4-<%
			
			String serialNum = StringFormat.Source2GB(finxepenseinfoRecordset.getEI_SerialNum()) ;
			int leng = 4;
			String formatNum = StringFormat.formatNum(serialNum,leng);
			out.println(formatNum);
				  
				   %></td><!--李光文2004-03-04-->
				  
				  <td width="5%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_DeptName()) %></td>		        
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_ItemName()) %></td>		        
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_ApprovalKindName()) %></td>
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_UserName()) %></td> 
				  <td width="5%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_BillSum()) %></td>
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_MoneySum()) %></td>
			  	  <td width="10%" class="common"  align="center" nowrap>
		  			<a href="/krm/servlet/FinExpenseAccountServlet?status=q&module=s&AccountID=<%=finxepenseinfoRecordset.getEI_ID()%>">查看</a> 
			  	  </td>			  
			  </tr>
			<% } %>	 
			<% 
				if(approvalStatType.equals("expenser")){
			%>
			  <tr <%
		if(num%2==0){
		%> class="bgcolor"<%}%>>
				  <td width="10%" class="common" align="center" nowrap>BX4-<%
				String serialNum = StringFormat.Source2GB(finxepenseinfoRecordset.getEI_SerialNum()) ;
			    int leng = 4;
			    String formatNum = StringFormat.formatNum(serialNum,leng);
			    out.println(formatNum);
				  
				  %></td><!--李光文2004-03-04-->
				  
				  <td width="5%" class="common" align="center" nowrap><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_UserName()) %></td>		        
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_ItemName()) %></td>		    
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_DeptName()) %></td> 
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_ApprovalKindName()) %></td>
				  <td width="5%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_BillSum()) %></td>
				  <td width="15%" class="common" align="center"><%= StringFormat.Source2GB(finxepenseinfoRecordset.getEI_MoneySum()) %></td>
			  	  <td width="10%" class="common"  align="center" nowrap>
		  			<a href="/krm/servlet/FinExpenseAccountServlet?status=q&module=s&AccountID=<%=finxepenseinfoRecordset.getEI_ID()%>">查看</a> 
			  	  </td>			  
			  </tr>
			<% } %>	 
			<%
					num++;
			    	}
			   }
	        %> 
        <tr > 
          <td width="50%" colspan="4" align="center"  class="common">
<div align="left"><strong>合计单据数:<%= BillSum  %>张</strong></div></td>
          <td width="50%" align="center" colspan="4"  class="common">
<div align="left"><strong>合计金额:<%= MoneySum %>元</strong></div></td>
        </tr>
        <tr > 
          <td colspan="8" align="center"  class="tdC"><INPUT name="button2"  type="button"   onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1"  onClick="javascript:history.back(1);" value="返 回"></td>
        </tr>					
		  </table>  		   

		</td>
	</tr>	
</table>
 
<div align="center"></div>
</body>
</html>

⌨️ 快捷键说明

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