📄 customsdoclist.jsp
字号:
<jsp:useBean id="customsdoc" class="src.wuyang.CustomsDoc" scope="session"/>
<jsp:useBean id="company" class="src.wuyang.Company" scope="page"/>
<jsp:useBean id="customer" class="src.wuyang.Customer" scope="page"/>
<jsp:useBean id="employee" class="src.wuyang.Employee" 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 = customsdoc.getNumInOnePage();
customsdoc.listPage(request);
position = customsdoc.listPosition;
state = customsdoc.state;
curPage = customsdoc.curPage;
totalPage = customsdoc.totalPage;
%>
<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 bgcolor="#949b93">
<tr bgcolor="#949b93">
<td height="23" class="text" width="87">
<div align="center"><b>报关委托编号 </b></div>
</td>
<td height="23" class="text" width="59">
<div align="center"><b>合同编号 </b></div>
</td>
<td height="23" class="text" width="86">
<div align="center"><b>委托单位 </b></div>
</td>
<td height="23" class="text" width="45">
<div align="center"><b>经办人 </b></div>
</td>
<td height="23" class="text" width="60">
<div align="center"><b>贸易性质 </b></div>
</td>
<td height="23" class="text" width="59">
<div align="center"><b>是否退税 </b></div>
</td>
<td height="23" class="text" width="66">
<div align="center"><b>航名/航次 </b></div>
</td>
<td height="23" class="text" width="72">
<div align="center"><b>被委托单位 </b></div>
</td>
<td height="23" class="text" width="111">
<div align="center"><b>被委托单位经办人 </b></div>
</td>
</tr>
<%
for(int listCount = 0; listCount < numInOnePage && (customsdoc.next() > 0) ; listCount++)
{
company.load(customsdoc.getCompanyId());
customer.load(customsdoc.getCommitedComId());
employee.load(customsdoc.getEmployeeId());
String trade;
String drawback;
if (customsdoc.getTradeCharacter()==0)
trade="一般";
else
trade="其他";
if (customsdoc.getIsDrawback()==0)
drawback="否";
else
drawback="是";
%>
<tr>
<td class="textb" width="87"><a href="CustomsDocDetail.jsp?commitDocId=<%=customsdoc.getCommitDocId()%>"><%=customsdoc.getCommitDocId() %></a></td>
<td class="textb" width="59"><a href="ImportContractIndex.jsp?contractId=<%=customsdoc.getContractId()%>"><%=customsdoc.getContractId() %></a></td>
<td class="textb" width="86"><%=company.getCompanyName()%> </td>
<td class="textb" width="45"><%=employee.getEmpName()%> </td>
<td class="textb" width="60"><%=trade%> </td>
<td class="textb" width="59"><%=drawback%> </td>
<td class="textb" width="66"><%=customsdoc.getFlight()%> </td>
<td class="textb" width="72"><%=customer.getCustomerName()%> </td>
<td class="textb" width="111"><%=customsdoc.getCommitedAccountId()%> </td>
</tr>
<%
}
%>
<p>
<% if (position==0&&state==0){ %>
页码 <%=curPage %> / <%=totalPage%>
<% } else if (position==0&&state==2){ %>
<a href="CustomsDocList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>   页码
<%=curPage %> / <%=totalPage%>
<% } else if (position>0&&state==-1){ %>
<a href="CustomsDocList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>     页码
<%=curPage %> / <%=totalPage%>
<% } else if (position>0&&state==1){ %>
<a href="CustomsDocList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>  <a href="CustomsDocList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>  页码
<%=curPage %> / <%=totalPage%>
<% } %>
</table>
</blockquote>
</form>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -