📄 costratifier.jsp
字号:
<%@ taglib prefix="task" uri="/jsp/tld/WuYangTag.tld" %>
<jsp:useBean id="cost" class="src.wuyang.CostInfoTra" 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>
<%
/*
0 销售开票申请单
1 调拨申请单
*/
String str[]={"SlipCost.jsp","AllocatCost.jsp"};
String str2[]={"slipId","allocatId"};
String str4[]={"销售开票申请单","调拨申请单"};
int state = Integer.parseInt(request.getParameter("state"));
String whereClause=" state = " + state;
int count=cost.query(whereClause,"infoId");
%>
<body bgcolor=#949b93><table width="100%" border="1" height="90%" bordercolorlight="#616860" bordercolordark="#CCCCCC" bgcolor="#4c7171" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<blockquote><br>
<br>
<table width="88%" border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC" width="578" 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>
</tr>
<%
while (cost.next()>0) {
%>
<tr>
<td class="textb"><a href="<%=str[cost.getReceiptType()]%>?<%=str2[cost.getReceiptType()]%>=<%=cost.getReceiptId()%>&type=<%=state%>"><%=cost.getReceiptId()%></a></td>
<td class="textb"><%=str4[cost.getReceiptType()]%></td>
<td class="textb"><task:feeName showType="get" feeId="<%=state%>" /></td>
</tr>
<%
}
%>
</table>
</blockquote>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -