📄 aeab103.jsp
字号:
}
}
}
if(isEmpty(document.form1.businesstel2.value)){
alert("请输入商务电话2,不能为空!");
document.form1.businesstel2.focus();
return false;
}else{
if(isSpace(document.form1.businesstel2.value)){
alert("请输入正确商务电话2,不能全部为空格!");
document.form1.businesstel2.focus();
return false;
}else{
if(getStringLength(document.form1.businesstel2.value)>20){
alert("请输入正确商务电话2,长度为1-20位!");
document.form1.businesstel2.focus();
return false;
}
}
}
if(isEmpty(document.form1.assistant.value)){
alert("请输入助理,不能为空!");
document.form1.assistant.focus();
return false;
}else{
if(isSpace(document.form1.assistant.value)){
alert("请输入正确助理,不能全部为空格!");
document.form1.assistant.focus();
return false;
}else{
if(getStringLength(document.form1.assistant.value)>20){
alert("请输入正确助理,长度为1-20位!");
document.form1.assistant.focus();
return false;
}
}
}
if(isEmpty(document.form1.assistanttel.value)){
alert("请输入助理电话,不能为空!");
document.form1.assistanttel.focus();
return false;
}else{
if(isSpace(document.form1.assistanttel.value)){
alert("请输入正确助理电话,不能全部为空格!");
document.form1.assistanttel.focus();
return false;
}else{
if(getStringLength(document.form1.assistanttel.value)>20){
alert("请输入正确助理电话,长度为1-20位!");
document.form1.assistanttel.focus();
return false;
}
}
}
if(isEmpty(document.form1.businessfax.value)){
alert("请输入商务传真,不能为空!");
document.form1.businessfax.focus();
return false;
}else{
if(isSpace(document.form1.businessfax.value)){
alert("请输入正确商务传真,不能全部为空格!");
document.form1.businessfax.focus();
return false;
}else{
if(getStringLength(document.form1.businessfax.value)>20){
alert("请输入正确商务传真,长度为1-20位!");
document.form1.businessfax.focus();
return false;
}
}
}
if(isEmpty(document.form1.corporationwebsite.value)){
alert("请输入企业网页,不能为空!");
document.form1.corporationwebsite.focus();
return false;
}else{
if(isSpace(document.form1.corporationwebsite.value)){
alert("请输入正确企业网页,不能全部为空格!");
document.form1.corporationwebsite.focus();
return false;
}else{
if(getStringLength(document.form1.corporationwebsite.value)>200){
alert("请输入正确企业网页,长度为1-200位!");
document.form1.corporationwebsite.focus();
return false;
}
}
}
if(isEmpty(document.form1.email3.value)){
alert("请输入电子邮件3,不能为空!");
document.form1.email3.focus();
return false;
}else{
if(isSpace(document.form1.email3.value)){
alert("请输入正确电子邮件3,不能全部为空格!");
document.form1.email3.focus();
return false;
}else{
if(getStringLength(document.form1.email3.value)>50){
alert("请输入正确电子邮件3,长度为1-50位!");
document.form1.email3.focus();
return false;
}
}
}
if(isEmpty(document.form1.filename.value)){
alert("请输入附件,不能为空!");
document.form1.filename.focus();
return false;
}else{
if(isSpace(document.form1.filename.value)){
alert("请输入正确附件,不能全部为空格!");
document.form1.filename.focus();
return false;
}else{
if(getStringLength(document.form1.filename.value)>50){
alert("请输入正确附件,长度为1-50位!");
document.form1.filename.focus();
return false;
}
}
}
if(isEmpty(document.form1.description.value)){
alert("请输入附注,不能为空!");
document.form1.description.focus();
return false;
}else{
if(isSpace(document.form1.description.value)){
alert("请输入正确附注,不能全部为空格!");
document.form1.description.focus();
return false;
}else{
if(getStringLength(document.form1.description.value)>1000){
alert("请输入正确附注,长度为1-1000位!");
document.form1.description.focus();
return false;
}
}
}
if(document.form1.sharerankid.options[document.form1.sharerankid.selectedIndex].value==0){
alert("请选择共享级别,不能不选!");
document.form1.sharerankid.focus();
return false;
}
if(document.form1.statusid.options[document.form1.statusid.selectedIndex].value==0){
alert("请选择状态,不能不选!");
document.form1.statusid.focus();
return false;
}
if(isEmpty(document.form1.corporationid.value)){
alert("请输入企业,不能为空!");
document.form1.corporationid.focus();
return false;
}else{
if(isSpace(document.form1.corporationid.value)){
alert("请输入正确企业,不能全部为空格!");
document.form1.corporationid.focus();
return false;
}else{
if(getStringLength(document.form1.corporationid.value)>10){
alert("请输入正确企业,长度为1-10位!");
document.form1.corporationid.focus();
return false;
}else{
if(!isNumber(document.form1.corporationid.value)){
alert("请输入正确企业,数字!");
document.form1.corporationid.focus();
return false;
}
}
}
}
if(isEmpty(document.form1.staffid.value)){
alert("请输入职员,不能为空!");
document.form1.staffid.focus();
return false;
}else{
if(isSpace(document.form1.staffid.value)){
alert("请输入正确职员,不能全部为空格!");
document.form1.staffid.focus();
return false;
}else{
if(getStringLength(document.form1.staffid.value)>10){
alert("请输入正确职员,长度为1-10位!");
document.form1.staffid.focus();
return false;
}else{
if(!isNumber(document.form1.staffid.value)){
alert("请输入正确职员,数字!");
document.form1.staffid.focus();
return false;
}
}
}
}
document.form1.save.value="save";
return true;
}
// -->
</script>
</head>
<body leftmargin="0" marginwidth="0" marginheight="0" topmargin="0">
<%@ include file="../aadm/menu.jsp"%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="table1">
<tr class="tr1">
<td>您目前正在企业通讯录-企业成员联系人管理-编辑企业成员联系人页面</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center" class="table2">
<tr class="tr2">
<td>
<form name="form1" action="../aeab/aeab103" method="post" onsubmit="return getValue()">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="table3">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="table5">
<tr>
<td colspan="2"> </td>
</tr>
<%if(teabmember!=null){%>
<tr>
<td colspan="2"><input type="hidden" name="save"></td>
</tr>
<tr>
<td align="right" class="td51">
</td>
<td class="td52">
<input type="hidden" name="memberid" size="20" value="<%=teabmember.getMemberid()%>" maxlength="10">
</td>
</tr>
<tr>
<td align="right" class="td51">
分组:
</td>
<td class="td52">
<select name="groupid" class="select1">
<%=groupid%>
</select>
</td>
</tr>
<tr>
<td align="right" class="td51">
用户:
</td>
<td class="td52">
<select name="userid" class="select1">
<%=userid%>
</select>
</td>
</tr>
<tr>
<td align="right" class="td51">
姓氏:
</td>
<td class="td52">
<input type="text" name="surname" size="20" value="<%=teabmember.getSurname()%>" maxlength="20" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
名字:
</td>
<td class="td52">
<input type="text" name="firstname" size="20" value="<%=teabmember.getFirstname()%>" maxlength="20" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
姓名全称:
</td>
<td class="td52">
<input type="text" name="membername" size="20" value="<%=teabmember.getMembername()%>" maxlength="50" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
昵称:
</td>
<td class="td52">
<input type="text" name="nickname" size="20" value="<%=teabmember.getNickname()%>" maxlength="50" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
电子邮件:
</td>
<td class="td52">
<input type="text" name="email" size="20" value="<%=teabmember.getEmail()%>" maxlength="50" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
类型:
</td>
<td class="td52">
<textarea name="type" cols="30" rows="4" class="textarea1"><%=teabmember.getType()%></textarea>
</td>
</tr>
<tr>
<td align="right" class="td51">
移动电话:
</td>
<td class="td52">
<input type="text" name="mobiletel" size="20" value="<%=teabmember.getMobiletel()%>" maxlength="20" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
车载电话:
</td>
<td class="td52">
<input type="text" name="cartel" size="20" value="<%=teabmember.getCartel()%>" maxlength="20" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
无线电话:
</td>
<td class="td52">
<input type="text" name="radiotel" size="20" value="<%=teabmember.getRadiotel()%>" maxlength="20" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
性别(1:男,2:女):
</td>
<td class="td52">
<select name="sexid" class="select1">
<%if(teabmember.getSexid()==2){%>
<option value='0'>请选择</option>
<option value='1'>不用</option>
<option selected value='2'>使用</option>
<%}else{%>
<option value='0'>请选择</option>
<option selected value='1'>不用</option>
<option value='2'>使用</option>
<%}%>
</select>
</td>
</tr>
<tr>
<td align="right" class="td51">
寻呼:
</td>
<td class="td52">
<input type="text" name="pager" size="20" value="<%=teabmember.getPager()%>" maxlength="20" class="text1">
</td>
</tr>
<tr>
<td align="right" class="td51">
生日:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -