<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Hand
    $Date: 2015-8-12 下午4:04:04  
    $Revision: 1.0  
    $Purpose: 付款申请工作流审批页面
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true">
    <a:init-procedure>
        <a:model-update model="cont.CON500.con_contract_get_layout_code"/>
    </a:init-procedure>
    <a:view>
        <a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
        <script type="text/javascript"><![CDATA[
            Leaf.onReady(function() {

                //审批明细页面根据条件表BCML_PAYMENT字段 function_code/cond_para1 匹配布局代码layout_code
                
                var layout_code = '${/parameter/@layout_code}'; 
                if (!layout_code) {
                    Leaf.showMessage('${l:PROMPT}', '${l:HLS.LAYOUT_CODE_IS_NULL}');
                    return;
                }
            });
        ]]></script>
        <a:screen-include screen="modules/csh/CSH501/csh_payment_req_wfl_dynamic.lview?payment_req_id=${/parameter/@payment_req_id}&amp;layout_code=${/parameter/@layout_code}&amp;function_code=${/parameter/@function_code}&amp;cond_para1=${/parameter/@cond_para1}"/>
    </a:view>
</a:screen>