📄 insert_invoice.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'insert_invoice.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="<%=basePath %>styles/insert.css">
<script type="text/javascript" src="<%=basePath %>js/check.js"></script>
<script type="text/javascript" src="<%=basePath %>js/remind.js"></script>
</head>
<body>
<%
String leaseNum=request.getParameter("leaseNum");
%>
<div id="container">
<form action="<%=request.getContextPath() %>/insertInvoice.do" method="post">
<table>
<tr>
<td><label for="leaseNum">租约号</label></td>
<td><input id="leaseNum" type="text" name="leaseNum" value="<%if(leaseNum!=null)out.println(leaseNum); %>"/></td>
</tr>
<tr>
<td><label for="semester">学期</label></td>
<td>
<select name="semester">
<option value="上">上</option>
<option value="下">下</option>
<option value="暑假">暑假</option>
</select>
</td>
</tr>
<tr>
<td><label for="paymentDue">付款截至日期</label></td>
<td><input id="paymentDue" type="text" name="paymentDue" value="" onblur="check('paymentDue','pd')" onfocus="remind('paymentDue','pd','按格式19880506输入')"/></td>
<td id="pd" style="color:red"></td>
</tr>
<tr>
<td><label for="payDate">付款日期</label></td>
<td><input id="payDate" type="text" name="payDate" onblur="check('payDate','p')" onfocus="remind('payDate','p','按格式19880506输入')"/></td>
<td id="p" style="color:red"></td>
</tr>
<tr>
<td><label for="payMethod">付款方式</label></td>
<td>
<select name="payMethod">
<option value="信用卡">信用卡</option>
<option value="现金">现金</option>
<option value="支票">支票</option>
</select>
</td>
</tr>
<tr>
<td><label for="firstSend">第一次催单时间</label></td>
<td><input id="firstSend" type="text" name="firstSend" value="" onblur="check('firstSend','fs')" onfocus="remind('firstSend','fs','按格式19880506输入')"/></td>
<td id="fs" style="color:red"></td>
</tr>
<tr>
<td><label for="secondSend">第二次催单时间</label></td>
<td><input id="secondSend" type="text" name="secondSend" value="" onblur="check('secondSend','ss')" onfocus="remind('secondSend','ss','按格式19880506输入')"/></td>
<td id="ss" style="color:red"></td>
</tr>
<tr id="button">
<td><input id="save" type="submit" name="save" value="保存"/></td>
<td><input id="reset" type="reset" name="reset" value="重置"/></td>
</tr>
<tr>
<td><br></td>
<td><a href="javascript:history.back(-1)">返回</a></td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -