csh_payment_apply_print.lview 2.16 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: zhangxing5129  
    $Date: 2014-1-20 下午01:49:43  
    $Revision: 1.0  
    $Purpose: 项目经理答复及评审会签表
-->
<a:screen xmlns:c="leaf.application.action" xmlns:w="leaf.plugin.export.word" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" customizationEnabled="true" trace="true" xlmns="leaf.plugin.script">
    <a:init-procedure participants="leaf.service.exception.ExceptionHandler">
        <a:model-query model="csh.CSH505.csh_payment_req_ln_for_print" rootPath="csh_payment_apply_rp"/>
        <a:model-query defaultWhereClause="exists  (select 1  from zj_wfl_instance_para_all_v t   where t.parameter_code = &apos;PAYMENT_REQ_ID&apos;  and t.parameter_value = ${/parameter/@payment_req_id} and t1.instance_id = t.instance_id and t1.node_sequence_num&lt;40)" model="csh.CSH505.zj_wfl_approve_history_v_for_print" queryOrderBy="t1.node_sequence_num,approver_name desc" rootPath="zj_wfl_approve_history_rp"/>
        <w:word-export name="申请付款确认表.doc" template="leaf.plugin.export.word/csh_payment_apply_print.xml">
            <w:replaces>
                <w:replace name="contract_name" path="/model/csh_payment_apply_rp/record/@contract_name"/>
                <w:replace name="bp_name" path="/model/csh_payment_apply_rp/record/@bp_name"/>
                <w:replace name="user_name" path="/model/csh_payment_apply_rp/record/@user_name"/>
                <w:replace name="apply_pay_date" path="/model/csh_payment_apply_rp/record/@apply_pay_date"/>
                <w:replace name="amount_format" path="/model/csh_payment_apply_rp/record/@amount_format"/>
                <w:replace name="currency_name" path="/model/csh_payment_apply_rp/record/@currency_name"/>
                <w:replace name="description" path="/model/csh_payment_apply_rp/record/@description"/>
            </w:replaces>
        </w:word-export>
        <!-- <p:exception-handles>
            <p:catch Exception="*">
                <p:action name="HandleException"/>
                <p:action name="CreateErrorResponse"/>
            </p:catch>
        </p:exception-handles> -->
    </a:init-procedure>
</a:screen>