con_contract_lov.lwm 1.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?xml version="1.0" encoding="UTF-8"?>
<ns1:model xmlns:ns1="http://www.leaf-framework.org/schema/bm" alias="t1" extend="cont.CON500.con_contract" extendMode="reference" needAccessControl="false">
    <ns1:fields>
        <ns1:field name="contract_id" forInsert="true"/>
        <ns1:field name="contract_number" displayWidth="218" forDisplay="true" forQuery="true" prompt="合同编号"/>
        <ns1:field name="contract_name" displayWidth="218" forDisplay="true" forQuery="true" prompt="合同名称"/>
        <ns1:field name="pay_method" forDisplay="false"/>
    </ns1:fields>
    <ns1:query-fields>
        <ns1:query-field field="contract_number" queryOperator="like"/>
        <ns1:query-field field="contract_name" queryOperator="like"/>
        <ns1:query-field name="pay_method" queryExpression="(t1.pay_method = ${@pay_method})"/>
    </ns1:query-fields>
    <ns1:data-filters>
        <ns1:data-filter name="query" enforceOperations="t1.due_date is not null"/>
38823's avatar
38823 committed
16
        <ns1:data-filter enforceOperations="query" expression="t1.division !=95"/>
17 18
    </ns1:data-filters>
</ns1:model>