📄 outresultinputer.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="teleReport.domain.OutInfo" %>
<%@page import="org.apache.struts.util.LabelValueBean"%>
<%@page import="java.util.*" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<html:html lang="true">
<html:base/>
<head>
<bean:define id="totalPId" name="outBean" property="totalPage" />
<bean:define id="curPId" name="outBean" property="currentPage" />
<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
<title>显示出账信息搜索结果</title>
<script type="text/javascript" src="../common/js/out.js"></script>
<%
String str = totalPId.toString();
int n = Integer.parseInt(str);
List v = new ArrayList();
for (int i = 1; i <= n; i++) {
v.add(new LabelValueBean(Integer.toString(i), Integer.toString(i)));
}
pageContext.setAttribute("v", v);
%>
<%
String type =(String)session.getAttribute("userClass");
if (!type.equals("1")) {
session.setAttribute("notLogin", true);
out.print("<script language=javascript>window.location.href='/TeleReport/jsp/login.jsp';</script>");
}
%>
</head>
<body>
<div style="position:absolute;margin:15px,0px,0px,0px;width:1085px;">
<logic:empty name="outBean" property="outInfoList">
没有符合要求的选项,请
<html:link href="./outSearchInputer.jsp">返回</html:link>
</logic:empty>
<logic:notEmpty name="outBean"
property="outInfoList">
<br>
<table width="97%">
<tr class = "title">
<td>出账编号</td>
<td>录入时间</td>
<td>产品</td>
<td>出账类型</td>
<td>金额</td>
<td>状态</td>
<td>稽核者</td>
<td>稽核时间</td>
<td>操作</td>
</tr>
<logic:iterate id="element" name="outBean" property="pageOutList">
<tr>
<td>
<bean:write name = "element" property = "outInfoId"/>
</td>
<td>
<bean:write name = "element" property = "out_date"/>
</td>
<td>
<bean:write name = "element" property = "prodName"/>
</td>
<td>
<bean:write name = "element" property = "outTypeName"/>
</td>
<td>
<bean:write name = "element" property = "fee"/>
</td>
<td>
<logic:equal value = "0"name = "element" property = "state">
未通过
</logic:equal>
<logic:equal value = "1"name = "element" property = "state">
已通过
</logic:equal>
<logic:equal value = "2"name = "element" property = "state">
未稽核
</logic:equal>
</td>
<td>
<bean:write name = "element" property = "checkerId"/>
</td>
<td>
<bean:write name = "element" property = "check_time"/>
</td>
<td>
<div id = "operation" <%if(((OutInfo)element).getState().equals("1")){%>style="visibility:hidden"<%} %> >
<a href="./gotoUpdateOut.do?outInfoId=<%=((OutInfo) element).getOutInfoId()%>">
修改
</a>
<a href="./deleteOut.do?outInfoId=<%=((OutInfo) element).getOutInfoId()%>"
onclick="{if(confirm('确定要删除记录吗?')){return true;}return false;}">
删除
</a>
</div>
</td>
</tr>
</logic:iterate>
</table>
<table>
<tr>
<td width="2%"></td>
<td>
<html:form action="/jsp/goHeadPageInOut">
<html:submit value="首页"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/goToLastPageInOut">
<html:submit value="上一页"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/goToNextPageInOut">
<html:submit value="下一页"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/goEndPageInOut">
<html:submit value="尾页"></html:submit>
</html:form>
</td>
<td>
<html:form action="jsp/goOutNextPageIn">
总共有
<bean:write name="outBean" property="totalPage"></bean:write>
页, 第
<html:select property="currentPage">
<html:options collection="v" labelProperty="label"
property="value" />
</html:select>
页
<html:submit value="跳转"></html:submit>
</html:form>
</td>
<td width="55%"></td>
</tr>
</table>
<br>
<br>
<html:form action = "/jsp/download">
<p align="right">
<input name="Submit" type="submit" class="button" value="导出">
</p>
</html:form>
<br>
</logic:notEmpty>
</div>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -