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

📄 tongxun_gongsi_edit.jsp

📁 oa办公系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*,cn.jx.ecjtu.oa.ps.pojo.*" pageEncoding="GBK"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>修改公司名片信息</title>
<link href="../common/defaultFa/css/all.css" rel="stylesheet" type="text/css" />

<link href="../common/defaultFa/css/css.css" rel="stylesheet" type="text/css" />
<script language="javascript">
   function btnsave(){
   var a=document.form2.compname.value;
       if (a.length==0)
       {
           alert("公司名称不能为空,请输入公司名称!");
           document.form2.compname.focus(); 
           document.form2.compname.select();
        }else{
              document.form2.action="modifycompanycardServlet";
              document.form2.submit();
              }
   
  }
     function re(){
   document.form2.action="ListCompanyCardServlet";
   document.form2.submit();
  }

</script>
</head>
<body style="overflow-y:auto"  background="summer_relaxation_JD047.jpg">
<form name="form2" method="post" action="">
<input type="hidden" name="comp_id" value="${requestScope.session_companycard.company_id}"}"/>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="tb_title">
  <tr>
    <th align="left" valign="middle">修改公司名片信息</th>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tb_form">
  <tr>
    <td width="120" height="22" align="right">公司名称:</td>
    <td><input name="compname" type="text" value="${requestScope.session_companycard.name}" onblur="che()"/></td>
  </tr>
   <tr>
    <td width="120" height="22" align="right">公司电话:</td>
    <td><input name="comptel" type="text" value="${requestScope.session_companycard.phone}"/></td>
  </tr>
  <tr>
    <td width="120" height="22" align="right">公司地址:</td>
    <td><input name="compaddress" type="text" value="${requestScope.session_companycard.address}"/></td>
  </tr>
  <tr>
    <td width="120" height="22" align="right">公司邮编:</td>
    <td><input name="comppost" type="text" value="${requestScope.session_companycard.post}"/></td>
  </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="tb_foot">
  <tr>
    <td align="center">	
	<input type="button" name="exit" value=" 返  回 " onClick="re()"/>
	<input type="submit" name="btn"  value=" 保  存 " onClick="btnsave()"/></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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