📄 oa_leaveinsert.jsp
字号:
<%@include file="/internet/common.jsp"%>
<SCRIPT language="JavaScript" src="/pageComponent/resources/scripts/dataformcheck.js"></SCRIPT>
<link rel="stylesheet" href="/pageComponent/resources/theme/style.css" type="text/css">
<SCRIPT language="JavaScript" src="/pageComponent/resources/scripts/calendar.js"></SCRIPT>
<%--
作者:xiao
部门:BIT
创建时间:Fri Dec 15 13:01:25 CST 2006
描述:通过向导自动产生entity表单输入的jsp页面
--%>
<br>
<PG:DataForm>
<%--自动生成代码,请不要手动修改
<?xml version="1.0" encoding="GB2312" standalone="no"?>
<wizardContent version="1.0">
<content>
<formAction value="employee.pr.prOA_LEAVEInsert.do" type="String"/>
<cols value="3" type="Integer"/>
<title value="新增(OA_LEAVE)信息" type="String"/>
<hasForm value="true" type="Boolean"/>
<formName value="inputForm" type="String"/>
<submitTarget value="_top" type="String"/>
</content>
<entity name="OA_LEAVE" id="entity">
<field name="EMPLOYEE_ID" displayName="员工编号" length="20">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="EMPLOYEE_NAME" displayName="员工姓名" length="20" isNullable="true">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="DEPARTMENT_ID" displayName="部门编号" length="20">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="START_TIME" dataType="time" displayFormat="yyyy-MM-dd HH:mm:ss" displayName="开始时间" isNullable="true">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="END_TIME" dataType="time" displayFormat="yyyy-MM-dd HH:mm:ss" displayName="结束时间" isNullable="true">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="LEAVE_CAUSE" displayName="请假原因" length="100" isNullable="true">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="LEAVE_BACK" displayName="反馈信息" length="100" isNullable="true">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
<field name="LEAVE_STATE" displayName="状态" length="20" isNullable="true">
<dictNullLable value="其它"/>
<readonly value="false"/>
<htmlInputType value="text"/>
<dictHasNull value="true"/>
</field>
</entity>
</wizardContent>
--%>
<form action="employee.pr.prOA_LEAVEInsert.do" target="_top" name="inputForm" method="post">
<TABLE width="80%" border="0" align="center" cellPadding="0" cellSpacing="0" class="pg_add">
<TR><TD class="pg_add_title" colspan="6">新增请假信息</TD></TR>
<TR>
<TD class="pg_add_head">
员工编号:
</TD>
<TD class="pg_add_content">
<%-- <html:text property="OA_LEAVE/EMPLOYEE_ID" attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="员工编号"' onblur="checkInput(this)"/>
<font color="red">*</font>--%>
<bean:write property="OA_EMP_INFO/EMPLOYEE_ID" />
<html:hidden name="OA_LEAVE/EMPLOYEE_ID" property="OA_EMP_INFO/EMPLOYEE_ID" />
</TD>
</TR><TR>
<TD class="pg_add_head">
员工姓名:
</TD>
<TD class="pg_add_content">
<%--<html:text property="OA_LEAVE/EMPLOYEE_NAME" attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="员工姓名"' onblur="checkInput(this)"/>--%>
<bean:write property="OA_EMP_INFO/EMPLOYEE_NAME" />
<html:hidden name="OA_LEAVE/EMPLOYEE_NAME" property="OA_EMP_INFO/EMPLOYEE_NAME" />
</TD>
</TR><TR>
<TD class="pg_add_head">
部门编号:
</TD>
<TD class="pg_add_content">
<%--<html:text property="OA_LEAVE/DEPARTMENT_ID" attributesText='eos_isnull="false" eos_maxsize="20" eos_displayname="部门编号"' onblur="checkInput(this)"/>
<font color="red">*</font>--%>
<bean:write property="OA_EMP_INFO/DEPARTMENT_ID" />
<html:hidden name="OA_LEAVE/DEPARTMENT_ID" property="OA_EMP_INFO/DEPARTMENT_ID" />
</TD>
</TR><TR>
<TD class="pg_add_head">
开始时间:
</TD>
<TD class="pg_add_content">
<input type="text" name="OA_LEAVE/START_TIME" size="25" eos_isnull="true" eos_maxsize="0" eos_datatype="time(yyyy-MM-dd HH:mm:ss)" eos_displayname="开始时间"
value="<bean:write property="OA_LEAVE/START_TIME" formatType="yyyy-MM-dd HH:mm:ss" formatClass="com.primeton.eos.webtag.bean.BeanWriteDateFormatImpl"/>"/>
<html:hidden property="OA_LEAVE/START_TIME/@pattern" value="yyyy-MM-dd HH:mm:ss"/>
<input type="button" value="日历" onclick="var txt=document.getElementById("OA_LEAVE/START_TIME"),format="yyyy-MM-dd HH:mm:ss"; calendar(txt,format);">
</TD>
</TR><TR>
<TD class="pg_add_head">
结束时间:
</TD>
<TD class="pg_add_content">
<input type="text" name="OA_LEAVE/END_TIME" size="25" eos_isnull="true" eos_maxsize="0" eos_datatype="time(yyyy-MM-dd HH:mm:ss)" eos_displayname="结束时间"
value="<bean:write property="OA_LEAVE/END_TIME" formatType="yyyy-MM-dd HH:mm:ss" formatClass="com.primeton.eos.webtag.bean.BeanWriteDateFormatImpl"/>"/>
<html:hidden property="OA_LEAVE/END_TIME/@pattern" value="yyyy-MM-dd HH:mm:ss"/>
<input type="button" value="日历" onclick="var txt=document.getElementById("OA_LEAVE/END_TIME"),format="yyyy-MM-dd HH:mm:ss"; calendar(txt,format);">
</TD>
</TR><TR>
<TD class="pg_add_head">
请假原因:
</TD>
<TD class="pg_add_content">
<html:textarea property="OA_LEAVE/LEAVE_CAUSE" attributesText='eos_isnull="true" eos_maxsize="100" eos_displayname="请假原因"' onblur="checkInput(this)" rows="10" cols="60"/>
</TD>
</TR><TR>
<TD class="pg_add_head">
状态:
</TD>
<TD class="pg_add_content">
<html:select property="OA_LEAVE/LEAVE_STATE" attributesText='eos_isnull="true" eos_maxsize="20" eos_displayname="状态"'
onblur="checkInput(this)" >
<OPTION value="2" selected>未处理</OPTION>
</html:select>
</TD>
</TR>
<TR class="pg_add_bottom">
<TD colspan="6" >
<DIV align="center">
【<a href="javascript:check(document.inputForm);">提交</a>】
【<a href="javascript:resetData(document.inputForm);">重置</a>】
【<a href="javascript:history.go(-1);">返回</a>】
</DIV>
</TD>
</TR>
</TABLE>
</form>
</PG:DataForm>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -