<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: LR  
    $Date: 2013-8-23 上午10:56:29  
    $Revision: 1.0  
    $Purpose: 
-->
<ns1:model xmlns:s="leaf.plugin.script" xmlns:ns1="http://www.leaf-framework.org/schema/bm" alias="t1" extend="prj.PRJ401.prj_chance_v" extendMode="reference">
    <ns1:fields>
        <ns1:field name="chance_id"/>
        <ns1:field name="chance_number" displayWidth="200" forDisplay="true" forQuery="true" prompt="HLS.LEASE_CHANCE_CODE"/>
        <ns1:field name="bp_name" displayWidth="200" forDisplay="true" forQuery="true" prompt="HLS.TENANT_CODE"/>
    </ns1:fields>
    <ns1:query-fields>
        <ns1:query-field field="chance_number" queryOperator="like"/>
        <ns1:query-field field="bp_name" queryOperator="like"/>
    </ns1:query-fields>
    <ns1:features>
        <s:bm-script><![CDATA[
            var cx = Packages.leaf.javascript.Context.getCurrentContext();
            Packages.leaf.plugin.script.engine.ScriptImportor.defineExternScript(cx, this, $ctx.getData(), "aut_authority_bm_validate.js");
        ]]></s:bm-script>
    </ns1:features>
</ns1:model>
