<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<form id="__fnjHO5sr2IGlgd0Ig7I">
  <name>security_guard_leave</name>
  <parentId>__IAibXC40cAFNVX57PqX</parentId>
  <applicationid>__DXZvc8mnEmDqMARhK7G</applicationid>
  <description>保安员离属地登记</description>
  <templatecontext><![CDATA[<table class="mytable" border="0" cellspacing="0" cellpadding="0">
    <tbody>
        <tr>
            <td class="mytable_td_title" nowrap="nowrap" bgcolor="#F5F5F5">
            <h4 style="text-align: center;">保安员信息</h4>
            </td>
            <td class="mytable_td_content" colspan="3">
            <p>&nbsp;&nbsp;</p>
            </td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap"><span style="color: rgb(255, 0, 0);">*</span>保安员姓名：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__ihMDNKGJ2atewzGsUzb" text="text" name="security_guard_name" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="保安员姓名" validaterule="" valuescript="/*//在表单控件值脚本中获取当前文档对象@amp;#13;#include@nbsp;@quot;getDsName@quot;;@amp;#13;#include@nbsp;@quot;sysfunction@quot;;@amp;#13;(function(){@amp;#13;var@nbsp;dsName@nbsp;=@nbsp;getDsName();@amp;#13;var@nbsp;doc@nbsp;=@nbsp;getCurrentDocument();@amp;#13;var@nbsp;principal@nbsp;=@nbsp;getItemValueAsString(@quot;principal@quot;)+@quot;@quot;;@nbsp;@amp;#13;if(!@quot;@quot;.equals(principal))@nbsp;{@amp;#13;@nbsp;@nbsp;var@nbsp;sql@nbsp;=@nbsp;@quot;select@nbsp;@quot;+@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@quot;@#146;@quot;+getDomainid()+@quot;@#146;@nbsp;as@nbsp;DOMAINID,@quot;+@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@quot;ID,@quot;+@nbsp;//用户ID@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@quot;ID@nbsp;as@nbsp;item_ID,@quot;+@amp;#13;&#9;@quot;NAME@nbsp;as@nbsp;item_name,@quot;@nbsp;+@nbsp;//保安员姓名@amp;#13;&#9;@quot;FIELD11@nbsp;as@nbsp;item_ID_TYPE,@quot;@nbsp;+@nbsp;//证件类型@amp;#13;&#9;@quot;FIELD12@nbsp;as@nbsp;item_ID_NUMBER,@quot;@nbsp;+@nbsp;//证件号码@amp;#13;&#9;@quot;LOGINNO@nbsp;as@nbsp;item_telephone,@quot;@nbsp;+@nbsp;//手机号@amp;#13;&#9;@quot;FIELD13@nbsp;as@nbsp;item_CERTIFICATIONSTATUS@quot;@nbsp;+@nbsp;//实名状态@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@quot;@nbsp;from@nbsp;@quot;@nbsp;+sysfunction.DS_OBPM+@quot;.t_user@quot;+@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@quot;@nbsp;where@nbsp;ID=@#146;@quot;+principal+@quot;@#146;@quot;;@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;datart@nbsp;=@nbsp;findBySQL(sql);@amp;#13;@nbsp;@nbsp;doc.findItem(@quot;principalName@quot;).setValue(datart.getItemValueAsString(@quot;name@quot;));@amp;#13;@nbsp;@nbsp;doc.findItem(@quot;principalCardType@quot;).setValue(datart.getItemValueAsString(@quot;ID_TYPE@quot;));@amp;#13;@nbsp;@nbsp;doc.findItem(@quot;principalIdCardNo@quot;).setValue(datart.getItemValueAsString(@quot;ID_NUMBER@quot;));@amp;#13;@nbsp;@nbsp;doc.findItem(@quot;principalPhoneNo@quot;).setValue(datart.getItemValueAsString(@quot;telephone@quot;));@amp;#13;@nbsp;@nbsp;doc.findItem(@quot;principalIsCertified@quot;).setValue(datart.getItemValueAsString(@quot;CERTIFICATIONSTATUS@quot;));@amp;#13;@nbsp;@nbsp;@amp;#13;}@amp;#13;@amp;#13;})()*/" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="true" calculateonrefresh="true" mobile="true" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" secrettext="false" hidetype="parent" ishidetype="false" />&nbsp;<img classname="cn.myapps.runtime.dynaform.form.ejb.ViewDialogField" src="../image/form/viewdialog.gif" id="__4OLHKyRmhY3jbhMid1r" type="viewdialogfield" name="选择" caption="选择" maximization="default" divheight="" divwidth="" refreshonchanged="true" calculateonrefresh="true" mobile="true" hidetype="parent" ishidetype="false" mutilselect="false" selectone="false" allowviewdoc="false" opentype="3" hiddenscript="" hiddenvalue="" eventmapping="" datamapping="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" okscript="" callbackscript="" validatelibs="" dialogview="__cNB6opquHcRTsZ14aq2" module="__zsHjVo3E5dg1tSwdEER" refreshmode="0" refreshfields="" mapping="__Dh2y5qcdlnjjupljzdj:security_guard_name;__JRQHXh6pyudwgGLJRAk:guard_phone;__KjeSPUzSBfaH86EqBMq:guard_cardID" />&nbsp;</td>
            <td class="mytable_td_title" nowrap="noWrap"><span style="color: rgb(255, 0, 0);">﻿﻿*</span><a id="fck_paste_padding"><span style="color: rgb(255, 0, 0);">﻿</span></a>公司名称：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__eXi9Hn96amP78a5Bbjg" text="readonly" name="com_name" texttype="readonly" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="公司名称" validaterule="" valuescript="(function(){@amp;#13;@nbsp;@nbsp;@nbsp;var@nbsp;domainId@nbsp;=@nbsp;getDomainid();@amp;#13;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDomainProcess();//获取企业域对象@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;var@nbsp;@nbsp;system_name=process.doView(domainId);@amp;#13;@nbsp;@nbsp;@nbsp;var@nbsp;name@nbsp;=@nbsp;system_name.getName();@amp;#13;@nbsp;@nbsp;@nbsp;return@nbsp;name;@amp;#13;@nbsp;})()" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap"><span style="color: rgb(255, 0, 0);">﻿﻿*</span><a id="fck_paste_padding"><span style="color: rgb(255, 0, 0);">﻿</span></a>身份证号：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__7MD5qxslNBsQ5MLww4n" text="text" name="guard_cardID" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="保安员身份证号" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="true" mobile="true" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" secrettext="false" hidetype="parent" ishidetype="false" /></td>
            <td class="mytable_td_title" nowrap="noWrap">﻿<span style="color: rgb(255, 0, 0);">*</span><a id="fck_paste_padding">﻿</a>手机号码：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__Zus5cbb5eYRxpBo5EUk" text="text" name="guard_phone" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="保安员手机号" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="true" mobile="true" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" secrettext="false" hidetype="parent" ishidetype="false" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="nowrap" bgcolor="#F5F5F5">
            <h4 style="text-align: center;">目的地信息</h4>
            </td>
            <td class="mytable_td_content" colspan="3">&nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="nowrap"><span style="color: rgb(255, 0, 0);">﻿*</span><a id="fck_paste_padding"><span style="color: rgb(255, 0, 0);">﻿</span></a><span style="color: rgb(255, 0, 0);">﻿</span>目的地地区：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__sXQti2cUKm7Jh2mOZne" text="text" name="arrive_area" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="目的地地区" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" /></td>
            <td class="mytable_td_title" nowrap="noWrap">﻿<span style="color: rgb(255, 0, 0);">*</span><a id="fck_paste_padding"><span style="color: rgb(255, 0, 0);">﻿</span></a>目的地详情地址：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__djIEr5foJKFvWbHHXVt" text="text" name="guarddetail_address" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="目的地详细地址" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="nowrap" bgcolor="#F5F5F5">﻿﻿<span style="color: rgb(255, 0, 0);">*</span><a id="fck_paste_padding">﻿</a><span style="background-color: rgb(255, 255, 255);">离本属地日期：</span><a id="fck_paste_padding">﻿</a></td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__qmGHgydwNgM84gSjXX1" type="text" fieldtype="VALUE_TYPE_DATE" name="leave_time" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="离属地日期" valuescript="" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="text" filtercondition="" datepattern="YMD" processdescription="[];[]" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" refreshmode="0" refreshfields="" editmode="01" width="" hidetype="parent" ishidetype="false" /></td>
            <td class="mytable_td_title" nowrap="noWrap">﻿<span style="color: rgb(255, 0, 0);">*</span><a id="fck_paste_padding"><span style="color: rgb(255, 0, 0);">﻿</span></a>预计回归日期：</td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__b6NbNyjWhroUMudyxSd" type="text" fieldtype="VALUE_TYPE_DATE" name="back_time" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="预计回京日期" valuescript="" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="text" filtercondition="" datepattern="YMD" processdescription="[];[]" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" refreshmode="0" refreshfields="" editmode="01" width="" hidetype="parent" ishidetype="false" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="nowrap" bgcolor="#F5F5F5"><span style="color: rgb(255, 0, 0);">﻿﻿*</span><a id="fck_paste_padding"><span style="color: rgb(255, 0, 0);">﻿</span></a><span style="background-color: rgb(255, 255, 255);">预计到达目的地日期：</span><a id="fck_paste_padding">﻿</a></td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__y666S7Fe30aLjRrBCTC" type="text" fieldtype="VALUE_TYPE_DATE" name="time_arrve" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="预计到达目的地日期" valuescript="" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="text" filtercondition="" datepattern="YMD" processdescription="[];[]" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" refreshmode="0" refreshfields="" editmode="01" width="" hidetype="parent" ishidetype="false" /></td>
            <td class="mytable_td_title" nowrap="noWrap"><span style="color: rgb(255, 0, 0);">﻿*</span>交通方式<a id="fck_paste_padding">﻿：</a></td>
            <td class="mytable_td_content"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__mXHUBRx5JkiE4iMdZAT" text="text" name="transport" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="交通方式" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" /><br />
            &nbsp;</td>
        </tr>
    </tbody>
</table>
<p>&nbsp;</p>
<p><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__Q2v2I5qIxOkssHRfHVy" text="hidden" name="subordinateCompanies" texttype="hidden" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="所属公司" validaterule="" valuescript="#include@quot;sysfunction@quot;;@amp;#13;//判断表单某控件值为空值，就为自动编号@amp;#13;(function(){@amp;#13;@nbsp;var@nbsp;name=@quot;@quot;;@amp;#13;var@nbsp;domainid@nbsp;=@nbsp;getDomainid();@amp;#13;println(@quot;domainid+++domainid+++++++@quot;+domainid)@amp;#13;var@nbsp;sql@nbsp;=@nbsp;@quot;select@nbsp;NAME@nbsp;from@nbsp;obpm2.t_domain@nbsp;where@nbsp;id@nbsp;=@nbsp;@#146;@quot;+domainid+@quot;@#146;@quot;;@amp;#13;println(@quot;sql++++++@quot;+sql)@amp;#13;var@nbsp;datas@nbsp;=@nbsp;queryByDSName(sysfunction.DS_FLOW,sql);@amp;#13;if(datas!=null){@amp;#13;@nbsp;@nbsp;@nbsp;for(var@nbsp;iterator@nbsp;=@nbsp;datas.iterator();iterator.hasNext();){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;map1@nbsp;=@nbsp;iterator.next();//取值@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;name=@nbsp;map1.get(@quot;NAME@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;}@amp;#13;return@nbsp;name;@amp;#13;})()" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></p>]]></templatecontext>
  <type>1</type>
  <styleId>__IVdYdYsPmvBI7qi0x1n</styleId>
  <showLog>true</showLog>
  <openComment>false</openComment>
  <commentTitleScript><![CDATA[]]></commentTitleScript>
  <commentFlagScript><![CDATA[]]></commentFlagScript>
  <recordlogForever>true</recordlogForever>
  <showType>old</showType>
  <showWaterMark>false</showWaterMark>
  <waterMarkScript></waterMarkScript>
  <version>1</version>
  <isopenablescript><![CDATA[]]></isopenablescript>
  <iseditablescript><![CDATA[]]></iseditablescript>
  <mappingStr><![CDATA[{"formName":"security_guard_leave","tableName":"","columnMappings":[]}]]></mappingStr>
  <orderno>0</orderno>
  <permissionType>public</permissionType>
</form>