Commit 7c94bd46 authored by stone's avatar stone

【fix】修改付款申请承租人

parent 328d92cc
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: sf
$Date: 2019-12-2 下午02:32:50
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select t1.unit_id,
t1.bp_code,
t1.enable_flag,
t1.bp_name
FROM hls_bp_master t1
WHERE
t1.bp_category='TENANT'
and t1.unit_id IN (
SELECT v.unit_id
FROM exp_emp_assign_e_v v
WHERE v.user_id=${/session/@user_id}
)
#WHERE_CLAUSE#
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="unit_id" displayWidth="200"/>
<bm:field name="bp_code" displayWidth="200" forDisplay="true" forQuery="true" prompt="商业伙伴编码"/>
<bm:field name="bp_name" displayWidth="200" forDisplay="true" forQuery="true" prompt="商业伙伴名称"/>
<bm:field name="enable_flag"/>
<bm:field name="bp_category"/>
</bm:fields>
<bm:query-fields>
<bm:query-field field="bp_code" queryOperator="like"/>
<bm:query-field field="bp_name" queryOperator="like"/>
<bm:query-field field="bp_category" queryOperator="like"/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter enforceOperations="query" expression="t1.enabled_flag=&apos;Y&apos;"/>
</bm:data-filters>
</bm:model>
......@@ -255,7 +255,7 @@
</a:field>
<a:field name="bp_name" readOnly="true"/>
<a:field name="bp_code_tenant" readOnly="true"/>
<a:field name="bp_name_tenant" lovGridHeight="300" lovHeight="450" lovLabelWidth="120" lovService="basic.hls_bp_master_v_for_lov?bp_category=TENANT" lovWidth="600" title="承租人">
<a:field name="bp_name_tenant" lovGridHeight="300" lovHeight="450" lovLabelWidth="120" lovService="csh.CSH501.hls_bp_master_same_agent_for_lov?bp_category=TENANT" lovWidth="600" title="承租人">
<a:mapping>
<a:map from="bp_code" to="bp_code_tenant"/>
<a:map from="bp_name" to="bp_name_tenant"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment