⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index_office.jsp

📁 宽带网收费系统的前台
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="netservice.vo.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 24px;
	color: #FF0000;
}
.STYLE2 {color: #FF0000}
-->
</style>
</head>
<!--<%
Employee employee=(Employee)session.getAttribute("employee");
String str=(String)session.getAttribute("aa");
%>-->
<script>
function checkAll(){
if(document.form1.userName.value==""&&document.form1.userAddress.value==""&&document.form1.userTel.value==""&&document.form1.userMobile.value==""){
	 window.alert("客户信息不能为空!");
	 document.form1.userName.focus();
 return false;
}
if(document.form1.userName.value==""||document.form1.userAddress.value==""&&document.form1.userTel.value==""||document.form1.userMobile.value==""){
	 window.alert("客户信息填写不全!");
	 document.form1.userName.focus();
 return false;
 }
if(document.form1.userName.value==""){
     window.alert("客户姓名不能为空!");
	 document.form1.userName.focus();
 return false;
}
if(document.form1.userAddress.value==""){
     window.alert("客户详细地址不能为空!");
	 document.form1.userAddress.focus();
 return false;
}
if(document.form1.userTel.value==""){
     window.alert("客户住址电话不能为空!");
	 document.form1.userTel.focus();
 return false;
}
else if(document.form1.userMobile.value==""){
     window.alert("联系人手机号不能为空!");
	 document.form1.userMobile.focus();
 return false;
}
}
</script>

<body>


      <form id="form1" name="form1" method="post" action="/NetService/dis?actionId=newuser">
        <table width="765" height="61" border="1">
          <tr>
            <th width="755" scope="col"><span class="STYLE1">新用户开户</span></th>
          </tr>
        </table>
        <p>当前用户是:${emp_name}</p>
        <table width="550" height="359" border="1" align="center">
        <tr>
          <td width="92" height="33">客户类型</td>
          <td width="119"><label>
            <select name="userType" id="userType">
              <option value="0">个人用户</option>
              <option value="1">单位用户</option>
            </select>
          </label></td>
          <td width="113">客户姓名</td>
          <td width="198"><label>
            <input name="userName" type="text" id="userName" />
          </label></td>
        </tr>
        <tr>
          <td><p>客户地址(请详细</p>
          <p>填写:</p></td>
          <td colspan="3"><label>
          <textarea name="userAddress" cols="50" rows="2" id="userAddress"></textarea>
          </label></td>
          </tr>
        <tr>
          <td height="25">客户住址电话:</td>
          <td><label>
            <input name="userTel" type="text" id="userTel" size="17" />
          </label></td>
          <td><p>联系人手机号:</p>          </td>
          <td><label>
            <input name="userMobile" type="text" id="userMobile" />
            <br />
          (13&nbsp;位)</label></td>
        </tr>
        <tr>
          <td>缴费类型:</td>
          <td><label>
            <select name="userAccounttype" id="userAccounttype">
              <option value="0">半年型(360)</option>
              <option value="1">一年型(700)</option>
              <option value="2">一季度(200)</option>
              <option value="3">一个月(80)</option>
            </select>
          </label></td>
          <td colspan="2"><label></label></td>
          </tr>
        <tr>
          <td>缴费日期:</td>
          <td>&nbsp;</td>
          <td>审核状态:</td>
          <td><span class="STYLE2">未审核</span></td>
        </tr>
        <tr>
          <td height="33">备注:</td>
          <td colspan="3"><textarea name="userMemo" id="userMemo"></textarea></td>
        </tr>
        <tr>
          <td height="33">处理人员ID:</td>
          <td colspan="3"><label>${emp_name}</label></td>
          </tr>
        <tr>
          <td height="28" colspan="4">客户状态:&nbsp;&nbsp;
            <label>
            <select name="userStatus" id="userStatus">
              <option value="0">缴费中,未开机</option>
              <option value="1">使用中</option>
              <option value="2">停机</option>
            </select>
          </label></td>
          </tr>
        <tr>
          <td height="59" colspan="2"><label>
            <div align="right">
              <input type="reset" name="Submit" value="重置" />
            </div>
          </label></td>
          <td>&nbsp;</td>
          <td><label>
		    <input type="submit" name="Submit2"  value="提交" onclick=" return checkAll()"/>
          </label></td>
        </tr>
      </table>
</form>
</body>


</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -