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

📄 paymentlist.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<jsp:useBean id="invoice" class="src.wuyang.Invoice" scope="session"/>
<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>
<% 
	String str1[] = {"","-"};
	String str2[] = {"应付","应收"};
	int position,state,curPage,totalPage;    
	int numInOnePage = invoice.getNumInOnePage();
	invoice.listPage(request);
	
	position = invoice.listPosition;
        state = invoice.state;
        curPage = invoice.curPage;
        totalPage = invoice.totalPage;
	
%>

<body bgcolor=#949b93>
<table width="100%" border="1" height="90%" bordercolorlight="#616860" bordercolordark="#CCCCCC" bgcolor="#4c7171" cellpadding="0" cellspacing="0">
  <tr> 
    <td valign="top" class="textb">
          <br>
      <div align="center"><b><font color="#000000">应收/应付款列表</font></b></div>
        
      <table width="100%" border="1" class="textb" bordercolorlight="#000000" bordercolordark="#CCCCCC" cellpadding="0" cellspacing="0">
        <tr bgcolor="#949b93"> 
          <td width="10%" > 
            <div align="center"><font color="#000000"><b>发票编号</b></font></div>
          </td>
          <td width="12%" > 
            <div align="center"><font color="#000000"><b>部门名称</b></font></div>
          </td>
          <td width="10%" > 
            <div align="center"><font color="#000000"><b>相关人员</b></font></div>
          </td>
          <td width="14%" > 
            <div align="center"><font color="#000000"><b>客户名称</b></font></div>
          </td>
          <td width="10%" > 
            <div align="center"> <font color="#000000"><b>发票日期</b></font></div>
          </td>
          <td width="12%" > 
            <div align="center"><font color="#000000"><b>发票金额</b></font></div>
          </td>
          <td width="12%" > 
            <div align="center"><font color="#000000"><b>已付金额</b></font></div>
          </td>
          <td width="15%" > 
            <div align="center"><font color="#000000"><b>应收/应付款</b></font></div>
          </td>
          <td width="5%" > 
            <div align="center"><font color="#000000"><b>类型</b></font></div>
          </td>
        </tr>
        <%
	for(int listCount = 0; listCount < numInOnePage && (invoice.next() > 0) ; listCount++) {
%> 
        <tr class="textb"> 
          <td width="10%" ><%=invoice.getInvoiceId()%> </td>
          <td width="12%" ><%=invoice.getDeptName()%> </td>
          <td width="10%" ><%=invoice.getEmpName()%> </td>
          <td width="14%" ><%=invoice.getCustomerName()%> </td>
          <td width="10%" ><%=invoice.getStringDate(invoice.getInvoiceDate(),0)%> 
          </td>
          <td width="12%" align="right" ><%=invoice.doubleFormat(invoice.getInvoiceMoney(),2)%> 
          </td>
          <td width="12%" align="right" ><%=invoice.doubleFormat(invoice.getPayMoney(),2)%> 
          </td>
          <td width="15%" align="right" ><%=str1[invoice.getInvoiceFlag()]%><%=invoice.doubleFormat(invoice.getUnPay(),2)%> 
          </td>
          <td width="5%" ><%=str2[invoice.getInvoiceFlag()]%></td>
        </tr>
        <%
	}
%> 
      </table>
        <p class="textb"> 
        <%    if (position==0&&state==0){ %>
        页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
        <% } else if (position==0&&state==2){ %>
        <a href="PaymentList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp&nbsp页码 
        <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
        <% } else if (position>0&&state==-1){ %>
        <a href="PaymentList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp&nbsp&nbsp&nbsp页码 
        <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
        <% } else if (position>0&&state==1){ %>
        <a href="PaymentList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp<a href="PaymentList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp页码 
        <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
        <% } %>
      
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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