?? pre-inputsearchresult.jsp
字號:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="teleReport.domain.PreInfo" %>
<%@ 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" %>
<%@page import="org.apache.struts.util.LabelValueBean"%>
<%@page import="java.util.*" %>
<html:html lang="true">
<head>
<html:base/>
<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
<title>錄入者查詢預存轉信息結果</title>
<bean:define id="totalPId" name="preBean" property="totalPage" />
<bean:define id="curPId" name="preBean" property="currentPage" />
<%
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;">
<bean:define id="totalPId" name="preBean" property="totalPage" />
<bean:define id="curPId" name="preBean" property="currentPage" />
<table width="97%" border="0">預存轉收入查詢結果:
<tr class = "title">
<td width="94" height="28">預存轉業務編號</td>
<td width="66">銷售日期</td>
<td width="46">地市</td>
<td width="136">產品</td>
<td width="191">銷帳費用類型</td>
<td width="76">金額</td>
<td width="55">狀態</td>
<td width="79">稽核者</td>
<td width="63">稽核時間</td>
<td width="78">操作</td>
</tr>
<logic:iterate id="element" name="preBean" property="pagePreList">
<tr>
<td>
<bean:write name = "element" property = "preid"/>
</td>
<td>
<bean:write name = "element" property = "sale_time"/>
</td>
<td>
<bean:write name = "element" property = "cityName"/>
</td>
<td>
<bean:write name = "element" property = "prodName"/>
</td>
<td>
<bean:write name = "element" property = "typeofcharge"/>
</td>
<td>
<bean:write name = "element" property = "money"/>
</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 = "checktime"/>
</td>
<td>
<div id = "operation" <%if(((PreInfo) element).getState().equals("1")){%>style="visibility:hidden"<%}%> >
<a href="./preGotoUpdateAll.do?preid=<%=((PreInfo) element).getPreid()%>">更新</a>
<a href="./deletePre.do?preid=<%=((PreInfo) element).getPreid()%>" onclick="{if(confirm('確定要刪除記錄嗎?')){return true;}return false;}">刪除 </a>
</td>
</tr>
</logic:iterate>
</table>
<br>
<table>
<tr>
<td width="2%"></td>
<td>
<html:form action="/jsp/preGoHeadPageIn">
<html:submit value="首頁"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/preGoToLastPageIn">
<html:submit value="上一頁"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/preGoToNextPageIn">
<html:submit value="下一頁"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/preGoEndPageIn">
<html:submit value="尾頁"></html:submit>
</html:form>
</td>
<td>
<html:form action="jsp/preGoNextPageIn">
總共有
<bean:write name="preBean" 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>
<html:form action = "/jsp/preDownload">
<p align="right">
<input name="Submit" type="submit" class="button" value="導出">
</p>
</html:form></div>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -