汽车租赁管理系统/carRentalSystem/WebRoot/operatorManager/updateRenttable.jsp
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
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 'updateRenttable.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 type="text/css" rel="stylesheet" href="<%=basePath%>css/public.css">
<script type="text/javascript" src="<%=basePath%>My97DatePicker/WdatePicker.js"></script>
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script type="text/javascript">
function subForm(){
//判断数字
var num = new RegExp("[0-9]{1,10}.?[0-9]{0,2}");
var imprest = document.getElementById('imprest');
var shouldPayPrice = document.getElementById('shouldPayPrice');
var price = document.getElementById('price');
var beginDate = document.getElementById('beginDate');
var shouldReturnDate = document.getElementById('shouldReturnDate');
if(imprest.value == null || imprest.value == ""){
alert("预付金不能为空。数字或小数,精确到后两位");
imprest.select();
return false;
}else if(imprest.value.match(num) == null){
alert("预付金格式有误。数字或小数,精确到后两位");
imprest.select();
return false;
}else if(shouldPayPrice.value == null || shouldPayPrice.value == ""){
alert("应付金不能为空。数字或小数,精确到后两位");
shouldPayPrice.select();
return false;
}else if(shouldPayPrice.value.match(num) == null){
alert("应付金格式有误。数字或小数,精确到后两位");
shouldPayPrice.select();
return false;
}else if(price.value == null || price.value == ""){
alert("实际交付金额不能为空。数字或小数,精确到后两位");
price.select();
return false;
}else if(price.value.match(num) == null ){
alert("实际交付金额格式有误。数字或小数,精确到后两位");
price.select();
return false;
}else if(beginDate.value == null || beginDate.value == ""){
后面还有 228 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
