📄 borrowbooklendthree.jsp
字号:
<%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage=""%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@page import="com.actionForm.BookForm"%>
<%@page import="com.actionForm.ReaderForm"%>
<%@page import="java.sql.Date"%>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>翼飞图书管理系统——图书管理</title>
</head>
<%
com.tool.ShowTime showTime=new com.tool.ShowTime();
ReaderForm readerForm=(ReaderForm)request.getAttribute("readerForm");
BookForm bookForm=(BookForm)request.getAttribute("bookForm");
String account=(String)session.getAttribute("account");
//==================================================
Date lendTime=Date.valueOf(showTime.showLaterTime(60));
Date overTime=Date.valueOf(readerForm.getOverTime());
if(lendTime.after(overTime)){
lendTime=overTime;
}
%>
<body>
<div align="center">
<jsp:include page="../topOne.jsp" flush="true"/>
<jsp:include page="../topTwo.jsp" flush="true"/>
<table width="799" border="0" cellpadding="0" cellspacing="0" background="Images/upPlace.jpg">
<tr>
<td height="21" class="word_black">
您当前的位置——借阅管理——图书借阅</td>
</tr>
</table>
<table width="799" height="28" border="0" cellpadding="0" cellspacing="0" background="Images/operationOne.jpg">
<tr align="center" class="style2">
<td> ———————确认借书的相关信息——————— </td>
</tr>
</table>
<table width="799" height="457" border="0" cellpadding="0" cellspacing="0" class="tableBorder_B_dashed">
<tr>
<td valign="top" align="center">
<br><br>
<html:form action="borrowBookAction.do?method=borrowBookLendFour">
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#819BBC" bordercolorlight="#FFFFFF">
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">书的条形码</td>
<td width="150"><html:hidden property="bookLink" value="<%=bookForm.getLineNumber()%>"/><%=bookForm.getLineNumber()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">书的名称</td>
<td width="150"><html:hidden property="bookName" value="<%=bookForm.getBookName()%>"/><%=bookForm.getBookName()%></td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">书的作者</td>
<td width="150"><html:hidden property="bookAuthor" value="<%=bookForm.getAuthor()%>"/><%=bookForm.getAuthor()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">出版社</td>
<td width="150"><html:hidden property="bookPunbilc" value="<%=bookForm.getPublish()%>"/><%=bookForm.getPublish()%></td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">书的定价</td>
<td width="150"><html:hidden property="bookPrice" value="<%=String.valueOf(bookForm.getSinglePirce())%>"/><%=bookForm.getSinglePirce()%>元</td>
<td width="100" bgcolor="#83B9FF" class="word_white">押金</td>
<td width="150"><html:hidden property="lendPrice" value="<%=String.valueOf(bookForm.getSinglePirce()+100)%>"/><%=bookForm.getSinglePirce()+100%>元</td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">借书时间</td>
<td width="150"><html:hidden property="startTime" value="<%=showTime.showCurrentTime()%>"/><%=showTime.showCurrentTime()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">还书时间</td>
<td width="150"><html:hidden property="overTime" value="<%=String.valueOf(lendTime)%>"/><%=String.valueOf(lendTime)%></td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">借书人证号</td>
<td width="150"><html:hidden property="readerCard" value="<%=readerForm.getBookCardMark()%>"/><%=readerForm.getBookCardMark()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">操作员</td>
<td width="150"><html:hidden property="operation" value="<%=account%>"/><%=account%></td>
</tr>
</table><br>
<html:submit>确认借阅</html:submit> <html:button property="back" onclick="javascript:history.go(-1);">返回操作</html:button>
</html:form>
</td>
</tr>
</table>
<jsp:include page="../bottom.jsp" flush="true"/>
</div>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -