receiptslist.jsp

来自「简单的医院系统」· JSP 代码 · 共 72 行

JSP
72
字号
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
  <head>
    <title>My JSP 'postsList.jsp' starting page</title>
  </head>
  <body>
  		<form action="PostServlet?operation=0" method="post">
			<table class="simple">
				<tr>
					<td></td>
				</tr>
				<tr>
					<th width="10%">
						选择&nbsp;
					</th>
					<th width="20%">
						项目&nbsp;&nbsp;
					</th>
					<th width="10%">
						金额&nbsp;&nbsp;
					</th>
					<th width="10%">
						收款人
					</th>
					<th width="10%">
						付款人
					</th>
					<th width="30%">
						日期
					</th>
					<th width="10%">
						是否收讫
					</th>
				</tr>
				<c:forEach items="${receiptlist}" var="post">
					<tr>
						<td align="center">
							<input type="checkbox" name="ids" value="${ post.id }">
						</td>
						<td>
							${ post.items }&nbsp;
						</td>
						<td>
							${ post.pay }&nbsp;
						</td>
						<td>
							${ post.payee }&nbsp;
						</td>
						<td>
							${ post.payeeId }&nbsp;
						</td>
						<td>
							${ post.pdate }&nbsp;
						</td>
						<td>
							${ post.isFinished }&nbsp;
						</td>
						<td>
							<a href="HospitalSystem?operation=2&id=${ post.id }">删除</a>
							<a href="HospitalSystem?operation=4&id=${ post.id }">修改</a>
						</td>
					</tr>
				</c:forEach>
			</table>
			<hr>
			<input type="button" value="添加" class="buttonClass" onclick="javaScript:window.location.href='posts.jsp'">
			<input type="button" value="批量删除" onclick="submitFrm();">
		 </form>
  </body>
</html>

⌨️ 快捷键说明

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