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

📄 empmain_family_addnew.asp

📁 欢迎大家分享本系统为bs架构的asp+access版本。<br>包含:员工信息
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT"%> 
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%call fnCheckRight("family","2")%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>家庭状况</title>
<link rel="stylesheet" href="CSS/SellWellWeb.css" type="text/css">
<script language="javascript" src="js_Lib/fnCheckForm.js"></script>
<script language="javascript" src="Js_Lib/Calendar.js"></script>
<script>
	function fnAddNewComm(varItemName){
        objOrg = eval(varItemName+"NewComm");
        TmpObj = eval(varItemName+"TmpNewComm");
		var newEle=objOrg.appendChild(TmpObj.cloneNode(true));
		newEle.id="";
		newEle.style.display="";
	}
	
	function fnDelNewComm(){
		var ele=window.event.srcElement;
		while(ele){
			if(ele.type){
				if(ele.type=="NewComm"){				
					break;
				}
			}
			ele=ele.parentElement;
		}
		ele.parentElement.removeChild(ele);
	}

//====================???????===================
	function fnDelOrgComm()
	{
	
		var ele=window.event.srcElement;
		while(ele)
		{
			if(ele.type)
			{
				if(ele.type=="Comm")
				{
					break;
				}
			}
			ele=ele.parentElement;
		}
		ele.parentElement.removeChild(ele);
	}
</script>
</head>

<body class="body">
<form method="POST" action="EmpMain_Family_AddNew_Process.asp" name="form1">
  <fieldset style="padding: 2" class="fiedset"> <legend>家庭状况</legend> 
  <table border="0" cellpadding="0" cellspacing="0"  bordercolor="#111111" width="98%" align="center" class="table">
  <tbody id="FileNewComm"> 
    <tr> 
      <td width="16%" height="24" nowrap class="listTitle"> <div align="center"><strong><font color="#FF0000">*</font></strong>关系</div></td>
      <td width="16%" nowrap class="listTitle"> <div align="center"><strong><font color="#FF0000">*</font></strong>姓名</div></td>
      <td width="17%" nowrap class="listTitle"> <div align="center">生日</div></td>
      <td width="17%" nowrap class="listTitle"> <div align="center">工作单位</div></td>
      <td width="17%" nowrap class="listTitle"> <div align="center">家庭地址</div></td>
      <td width="8%" nowrap class="listTitle"> <div align="center">电话</div></td>
      <td width="9%" nowrap class="listTitle" onclick="fnAddNewComm('File')"  style="cursor:hand"><div align="center">添加</div></td>
    </tr>
    <tr class="ListValueWhite" id="FileTmpNewComm" style="display:none" type="NewComm"> 
      <td><input name="HMRelation" type="text" class="Text" id="HMRelation"></td>
      <td><input name="HMMenName" type="text" class="Text" id="HMMenName"></td>
      <td><input name="HMMenBirthday" type="text" class="Text" id="HMMenBirthday" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
      <td><input name="HMMenComp" type="text" class="Text" id="HMMenComp"></td>
      <td><input name="HMAddress" type="text" class="Text" id="HMAddress"></td>
      <td><input name="HMTel" type="text" class="Text" id="HMTel" DataType="TelNo"></td>
      <td onclick="fnDelNewComm()" style="cursor:hand"> <div align="center">删除</div></td>
    </tr>
    <tr class="ListValueWhite" id="FileorgComm" type="Comm">
      <td><input name="HMRelation" type="text" class="Text" id="HMRelation"></td>
      <td><input name="HMMenName" type="text" class="Text" id="HMMenName"></td>
      <td><input name="HMMenBirthday" type="text" class="Text" id="HMMenBirthday" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
      <td><input name="HMMenComp" type="text" class="Text" id="HMMenComp"></td>
      <td><input name="HMAddress" type="text" class="Text" id="HMAddress"></td>
      <td><input name="HMTel" type="text" class="Text" id="HMTel" DataType="TelNo"></td>
      <td onclick="fnDelOrgComm()" style="cursor:hand"><div align="center">删除</div></td>
    </tr>
	</tbody>
  </table>
  </fieldset> 
  <div align="right">
    <input type="hidden" name="EmpID" value="<%=request.form("EmpID")%>">
    <input type="button" value="添加" name="B1" class="button" onclick="fnCheckForm()">
    <input type="button" value="返回" name="B12" class="button" onclick="window.history.back()">
  </div>
</form>

</body>

</html>

⌨️ 快捷键说明

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