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

📄 creditdoclist.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<jsp:useBean id="creditdoc" class="src.wuyang.CreditDoc" scope="session"/>
<jsp:useBean id="contract" class="src.wuyang.ImportContract" scope="page"/>
<jsp:useBean id="product" class="src.wuyang.ImportProduct" 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>

<% 
	int position,state,curPage,totalPage;    
	int numInOnePage = creditdoc.getNumInOnePage();
	creditdoc.listPage(request);

	
	position = creditdoc.listPosition;
        state = creditdoc.state;
        curPage = creditdoc.curPage;
        totalPage = creditdoc.totalPage;
	
	//System.out.println("totalPage=" + totalPage);
	//System.out.println("curPage=" + curPage);
	//System.out.println("position=" + position);
	//System.out.println("state=" + state);	
	
%>

<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>
<form method="post"> 
<blockquote>
<table border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC" cellpadding="0" cellspacing="0">     <tr> 
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="left"><b>协议书编号 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="left"><b>合同编号 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>开户行 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>信用行 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>开户金额 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>保证金 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>远期/即期 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>用途 </b></div>
      </td>
        <td height="25" class="text" bgcolor="#949b93"> 
          <div align="center"><b>进口批文文号 </b></div>
      </td>
    </tr>
    <%
for(int listCount = 0; listCount < numInOnePage && (creditdoc.next() > 0) ; listCount++) 
	{
%>
    <tr> 
      <td class="textb"><a href="CreditDocDetail.jsp?protocolId=<%=creditdoc.getProtocolId()%>"><%=creditdoc.getProtocolId() %></a></td>
      <td class="textb"><a href="ImportContractIndex.jsp?contractId=<%=creditdoc.getContractId()%>"><%=creditdoc.getContractId() %></a></td>
      <td class="textb"><%=creditdoc.getBank()%> </td>
      <td class="textb"><%=creditdoc.getCreditBank()%> </td>
      <td class="textb"><%=creditdoc.getBankMoney()%> </td>
      <td class="textb"><%=creditdoc.getCreditMoney()%> </td>
      <%   if(creditdoc.getDateType()==0)
	{
%>
      <td class="textb">远期</td>
      <%	}
     else
     	{
%>
      <td class="textb">即期</td>
      <%	}
%>
      <td class="textb"><%=creditdoc.getUseway()%> </td>
      <td class="textb"><%=creditdoc.getDocumentId()%> </td>
    </tr>
    <%
	}
%>
    <p> 
      <%    if (position==0&&state==0){ %>
      页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
      <% } else if (position==0&&state==2){ %>
      <a href="CreditDocList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp&nbsp页码 
      <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
      <% } else if (position>0&&state==-1){ %>
      <a href="CreditDocList.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="CreditDocList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp<a href="CreditDocList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp页码 
      <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
      <% } %></td></tr>
  </table>
</blockquote>
</form>
</body>
</html>

⌨️ 快捷键说明

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