📄 bespeak.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
<script language="javascript" src="${pageContext.request.contextPath}/image/CheckOperationForm.js"></script>
<script language="javascript" src="${pageContext.request.contextPath}/js/meizzDate.js"></script>
<title>1</title>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<script language="javascript">
var xmlHttp;
function createHttpRequest(){
if (window.ActiveXObject){
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}else if (window.XMLHttpRequest){
xmlHttp = new XMLHttpRequest();
}
}
function TextGet(){
var userid= window.parent.document.getElementById("userid").value;
createHttpRequest();
var url = "${pageContext.request.contextPath}/acceptoper.do?tag=checkstandby&userid="+userid+"&date="+new Date();
xmlHttp.open("GET",url,true);
xmlHttp.onreadystatechange = CallBackGet;
xmlHttp.send();
}
function CallBackGet(){
if (xmlHttp.readyState == 4){
if (xmlHttp.status == 200){
parseResult();
}
}
}
function parseResult(){
var meg = xmlHttp.responseText;
var mes = xmlHttp.responseText;
if(meg=="对不起该用户号码不能为空或者号码不存在!" || meg=="该用户不能使用本服务"){
window.parent.document.getElementById("meg").innerHTML = meg;
window.parent.document.getElementById("userid").value="";
}
else{
window.parent.document.getElementById("meg").innerHTML = meg;
}
window.setTimeout("TextGet()",5000);
}
window.setTimeout("TextGet()",100);
</script>
<body style="margin: 0px">
<html:form action="/acceptoper?tag=saveAccept" styleId="form1" target="rightw">
<table width="100%" border="1" cellspacing="0" cellpadding="0" id="ttc">
<tr>
<td width="22%" height="20" align="left" valign="middle" nowrap id="ttc">选择业务类型</td>
<td width="22%" nowrap id="ttc">
<select name="bespeakid" id="bespeakid">
<option value="">----未选----</option>
<option value="换/补卡">换/补卡</option>
<option value="送备卡">送备卡</option>
<option value="送会员卡">送会员卡</option>
<option value="送帐单">送帐单</option>
<option value="送发票">送发票</option>
</select></td>
<td width="16%" align="left" valign="middle" nowrap id="ttc">预约上门时间</td>
<td width="40%" align="left" valign="middle" nowrap id="ttc">
<input type="text" name="bespeaktime" id="bespeaktime" value="" onClick="setday(this);"></td>
</tr>
<tr>
<td width="22%" height="20" align="left" valign="middle" nowrap id="ttc">预约联系电话</td>
<td width="22%" nowrap id="ttc">
<input type="text" name="bespeaktel" id="bespeaktel" value=""> </td>
<td width="16%" align="left" valign="middle" nowrap id="ttc">预约联系人</td>
<td width="40%" align="left" valign="middle" nowrap id="ttc">
<input type="text" name="bespeakname" id="bespeakname" value=""></td>
</tr>
<tr>
<td width="22%" height="20" align="left" valign="middle" nowrap id="ttc">预约地址</td>
<td colspan="3" nowrap id="ttc">
<input name="bespeakaddress" type="text" id="bespeakaddress" value="" size="80"> </td>
</tr>
<tr>
<td width="22%" height="20" align="left" valign="middle" nowrap id="ttc">预约注意事项</td>
<td colspan="3" nowrap id="ttc">
<textarea name="bespeakremark" cols="" rows="" id="bespeakremark"></textarea></td>
</tr>
<tr>
<td width="22%" height="20" align="left" valign="middle" nowrap id="ttc">备注</td>
<td colspan="3" align="left" valign="middle" nowrap id="ttc">
<input type="hidden" name="userid" id="userid" value="" />
<input type="hidden" name="nmax" id="nmax" value="" />
<input type="hidden" name="nmin" id="nmin" value="" />
<textarea name="remark" cols="" rows="" id="remark"></textarea> </td>
</tr>
<tr>
<td width="22%" height="20" align="left" valign="middle" nowrap id="ttc">注意事项</td>
<td colspan="3" align="left" valign="middle" nowrap id="ttc"><span class="STYLE1">仅钻石、金卡用户享有。</span></td>
</tr>
<tr>
<td height="20" colspan="4" align="center" valign="middle" nowrap id="ttc">
<input type="button" name="Submit" value=" 提 交 " onClick="javascript:{checkForm(15);}"> </td>
</tr>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -