WebRoot/jsp/order/orderIndex.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@page import="com.inloam.domain.Person"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<title></title>
<%@ include file="/common/meta.jsp"%>
<script type="text/javascript">
function batch(form, entityName, action){
if (!atleaseOneCheck()){
alert("请选择一条: "+entityName +" !!!");
return;
}
var confirmMag="Are you want to delete:";
confirmMag="\确认: ";
if (confirm(confirmMag+entityName + " ?")){
resetEc(form);
oldaction=form.action;
if(action.indexOf("?")<0){
form.action=form.action+"?method="+action;
}else{
form.action = action;
}
form.submit();
}
}
function sele(a){
var o=document.getElementsByName(a)
for(i=0;i<o.length;i++){
o[i].checked=event.srcElement.checked
}
aler(o);
}
function caozuo(type){
var flag = true;
$('input[name="itemlist"]:checked').each(function(){
var status = $(this).parent().parent().find("td:last").text();
if(flag&&type=='Tiche'&&status!='已预约'){
alert("只有已预约的车才能提车!");
flag = false;
return;
}
if(flag&&type=='Huanche'&&status!='已提车'){
alert("只有已提车的车才能还车!");
flag = false;
return;
}
});
if(flag&&type=='Tiche'){
batch(document.forms.ec,'记录','order.do?method=orderTiche');
}
if(flag&&type=='Huanche'){
batch(document.forms.ec,'记录','order.do?method=orderHuanche');
}
}
</script>
</head>
<body>
<form action="${pageContext.request.contextPath}/order.do?method=orderShow" name="ec" id="ec" method="post">
后面还有 40 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
