📄 adduserbreakinput.jsp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
********************************************************************************************************
* 系统名称:PMS
* 程序名称:AddUserBreakInput.jsp
* 程序类型:jsp
* 功能简述:增加用户违章的输入页面
* 作 者:任浩宽
* 公 司:ccvanda
* 完成时间:
* 修 改 人:毕锋
* 修改内容:页面
* 修改日期:2001/11/16
********************************************************************************************************
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<title></title>
<base target="main">
<script language="JavaScript" src="/pmsApp/common/wuye.js">
</script>
<script language="JavaScript" src="/pmsApp/common/admin.js"></script>
<link rel="stylesheet" href="/pmsApp/css/wuye.css" type="text/css">
<script language="javascript">
function existedData() {
now=new Date();
y=now.getYear();
m=now.getMonth()+1;
d=now.getDate();
h=now.getHours();
t=now.getMinutes();
s=now.getSeconds();
for(var i = 0; i < 10; i++) {
if(document.form1.select1[i].value == y) {
document.form1.select1[i].selected = true;
break;
}
}
for(var i = 0; i < 12; i++) {
if(document.form1.select2[i].value == m) {
document.form1.select2[i].selected = true;
break;
}
}
for(var i = 0; i < 31; i++) {
if(document.form1.select3[i].value == d)
{
document.form1.select3[i].selected = true;
break;
}
}
}
</script>
<script language="JavaScript">
<!--
function verify()
{
Nvoid(form2);
var submitindex=true;
if(submitindex){
if(document.form2.breakman.value.length>10){
alert("违章人姓名长度超过了10个汉字");
submitindex=false;
document.form2.breakman.focus();
}else{
if(document.form2.breakman.value.length==0){
alert("请填写违章人姓名");
submitindex=false;
document.form2.breakman.focus();
};
};
};
if(submitindex){
if(document.form2.subarea.value.length>1){
alert("所在小区名字长度超过了1个字符");
submitindex=false;
document.form2.subarea.focus();
}else{
if(document.form2.subarea.value.length==0){
alert("请填写所在小区的名字");
submitindex=false;
document.form2.subarea.focus();
};
};
};
if(submitindex){
if(document.form2.building.value.length>3){
alert("所在楼的名字长度超过了3个字符");
submitindex=false;
document.form2.building.focus();
}else{
if(document.form2.building.value.length==0){
alert("请填写所在楼的名字");
submitindex=false;
document.form2.building.focus();
};
};
};
if(submitindex){
if(document.form2.stair.value.length>1){
alert("所在梯口的名字超过了1个字符");
submitindex=false;
document.form2.stair.focus();
}else{
if(document.form2.stair.value.length==0){
alert("请填写所在梯口的名字");
submitindex=false;
document.form2.stair.focus();
};
};
}
if(submitindex){
if(document.form2.floor.value.length>2){
alert("所在楼层的名字超过了2个字符");
submitindex=false;
document.form2.floor.focus();
}else{
if(document.form2.floor.value.length==0){
alert("请填写所在楼层的名字");
submitindex=false;
document.form2.floor.focus();
};
};
}
if(submitindex){
if(document.form2.cell.value.length>2){
alert("所在单元的名字超过了2个字符");
submitindex=false;
document.form2.cell.focus();
}else{
if(document.form2.cell.value.length==0){
alert("请填写所在单元的名字");
submitindex=false;
document.form2.cell.focus();
};
};
}
if(submitindex){
if(document.form2.exponent.value.length>100){
alert("违章内容超过了100个汉字");
submitindex=false;
document.form2.exponent.focus();
}else{
if(document.form2.exponent.value.length==0){
alert("请填写违章内容");
submitindex=false;
document.form2.exponent.focus();
};
};
}
if(submitindex)
{
if(document.form2.select1.value==0000){
alert("请指定违章的年份");
submitindex=false;
document.form2.select1.focus();
}
}
if(submitindex)
{
if(document.form2.select2.value==00){
alert("请指定违章的月份");
submitindex=false;
document.form2.select2.focus();
}
}
if(submitindex)
{
if(document.form2.select3.value==00){
alert("请指定违章的日期");
submitindex=false;
document.form2.select3.focus();
}
}
if(submitindex){
if(document.form2.recorder.value.length>10){
alert("记录人名字长度超过了10个汉字");
submitindex=false;
document.form2.recorder.focus();
}else{
if(document.form2.recorder.value.length==0){
alert("请填写记录人名字");
submitindex=false;
document.form2.recorder.focus();
};
};
}
if(submitindex){
handleForm(form2);
}
}
function trover(trid){
trid.className="trover";
}
function trout(trid){
trid.className="trout";
}
function MM_swapImgRestore() {// v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() {// v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) {// v4.0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -