📄 empmain_hol_addnew.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%call fnCheckRight("holinfo","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_hol_AddNew_process.asp" name="form1">
<fieldset style="padding: 2" class="fiedset"> <legend>考勤记录</legend>
<table border="0" cellpadding="0" cellspacing="0" class="table" bordercolor="#111111" width="98%" align="center">
<tbody id="FileNewComm">
<tr>
<td width="12%" align="center" nowrap class="listTitle">假期类型</td>
<td width="18%" align="center" nowrap class="listTitle">开始日期</td>
<td width="19%" align="center" nowrap class="listTitle">结束日期</td>
<td width="17%" align="center" nowrap class="listTitle">天数</td>
<td width="16%" align="center" nowrap class="listTitle">公休剩余</td>
<td width="9%" align="center" nowrap class="listTitle">扣薪天数</td>
<td width="9%" align="center" nowrap class="listTitle" style="cursor:hand" onclick="fnAddNewComm('File')">新增</td>
</tr>
<tr class="ListValueWhite" id="FileTmpNewComm" style="display:none" type="NewComm">
<td><select name="HDType" class="select" id="HDType">
<%=createSel("XiuJiaLeiXing","")%>
</select></td>
<td><input name="HDFrom" type="text" class="Text" id="HDFrom" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
<td><input name="HDTo" type="text" class="Text" id="HDTo" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
<td><input name="HDDayCount" type="text" class="Text" id="HDDayCount" DataType="Number"></td>
<td><input name="HDYearHolLeave" type="text" class="Text" id="HDYearHolLeave" DataType="Number"></td>
<td><input name="HDNoPayCount" type="text" class="Text" id="HDNoPayCount" DataType="Number"></td>
<td onclick="fnDelNewComm()" style="cursor:hand"><div align="center">删除</div></td>
</tr>
<tr class="ListValueWhite" id="FileorgComm" type="Comm">
<td><select name="HDType" class="select" id="HDType">
<%=createSel("XiuJiaLeiXing","")%>
</select></td>
<td><input name="HDFrom" type="text" class="Text" id="HDFrom" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
<td><input name="HDTo" type="text" class="Text" id="HDTo" onclick="getDate(this,'2')" readonly style="cursor:hand"></td>
<td><input name="HDDayCount" type="text" class="Text" id="HDDayCount" DataType="Number"></td>
<td><input name="HDYearHolLeave" type="text" class="Text" id="HDYearHolLeave" DataType="Number"></td>
<td><input name="HDNoPayCount" type="text" class="Text" id="HDNoPayCount" DataType="Number"></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="B1" class="button" onclick="window.history.back()">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -