haihongyuan.com
海量文库 文档专家
全站搜索:
您现在的位置:首页 > 幼儿教育 > 幼儿读物幼儿读物

sale_include

发布时间:2014-06-04 08:05:38  

<%@ page language="java" import="java.util.*,bean.*,servlet.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript" src="page/manager/Calendar1.js">
var Oevn = ev || event;//如果ev为false表示不是在chrome下
document.onclick = function(){
alert(Oevn .clientX);
}
</script>
<html>
<head>
<title>My JSP 'modifyRoom.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="styles.css">
-->

<Script>
function fucCheckTEL(TEL)
{
var i,j,strTemp;
strTemp="0123456789";
for (i=0;i<TEL.length;i++)
{
j=strTemp.indexOf(TEL.charAt(i));
if (j==-1)
{
alert("请输入数字");
return false;
}
}
return true;
}
function fucCheckNUM(TEL)
{
var i,j,strTemp;
strTemp="0123456789.";
for (i=0;i<TEL.length;i++)
{
j=strTemp.indexOf(TEL.charAt(i));
if (j==-1)
{
alert("请输入数字");
return false;
}
}

return true;
}
function Check()
{
partB=document.form1.partB.value;
realArea=document.form1.realArea.value;
signDate=document.form1.signDate.value;
if(partB.length!=6&&fucCheckTEL(partB))
{ alert("顾客编号为6位数字");
return false;
}
return fucCheckNUM(realArea);
if(!CheckDate(signDate))
{
alert("请输入正确的日期!");
return false;
}
return false;
}
</Script>
</head>

<body>

<br>
<HR>
<h2 align="center">房屋销售</h2>
<h3>房屋编号:<%=request.getParameter("roomNo")%></h3>
<form name = "form1" method = "post" action = "/do/servlet/saleRoomServlet" onsubmit="return Check();" bgcolor = "white" width: 300px >
<table align = "center" >
<tr><td>员工编号
</td><td>
<input type = "text" name = "partA" value=<%=session.getAttribute("userCustomerNo")%> id = "PartA" bgcolor = "gray" style="width:95px" readonly>
</td>
</tr>
<tr><td>员工姓名</td>
<td>
<input type = "text" name = "namePartA" value=<%=session.getAttribute("MyName")%> id = "namePartA" bgcolor = "gray" style="width:95px" readonly>
</td>
</tr>
<tr><td>顾客编号
</td><td>
<input type = "text" name = "partB" id = "PartB" bgcolor = "gray" style="width:95px">
</td>
</tr>
<tr><td>房屋编号
</td><td>
<input type = "text" name = "roomNo" id = "roo

网站首页网站地图 站长统计
All rights reserved Powered by 海文库
copyright ©right 2010-2011。
文档资料库内容来自网络,如有侵犯请联系客服。zhit326@126.com