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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: zhangyu
$Date: 2015-7-10 上午11:52:33
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:c="leaf.application.action" xmlns:s="leaf.plugin.script" xmlns:w="leaf.plugin.export.word" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" customizationEnabled="true" trace="true">
<a:init-procedure>
<a:model-query fetchAll="true" model="cont.CON500.con_contract_get_guid_file_name" rootPath="guid_file_name_path"/>
<a:model-query fetchAll="true" model="cont.CON500N.bgfl_get_contract_print_file_path" rootPath="contract_file_path"/>
<!--<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_bp_master_info_lv" rootPath="con_contract_bp_info_path"/>
<a:model-query defaultWhereClause="cf_type=3 and cf_item=3 and contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_cashflow_info" rootPath="charge_fee_path"/>
<a:model-query defaultWhereClause="contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.bgfl_get_discount_residual_value" rootPath="discount_residual_path"/>
<a:model-query defaultWhereClause="cf_type=5 and cf_item=51 and contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_cashflow_info" rootPath="deposit_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_tenant_sec_info_lv" rootPath="con_tenant_sec_info_path"/>
<a:model-query fetchAll="true" model="cont.CON500N.guarantor_mortgage_pledge_names" rootPath="guarantor_mortgage_pledge_path"/>
<a:model-query fetchAll="true" model="cont.CON500N.fnd_companies_print" rootPath="companies_info_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_for_cashflow_lv" rootPath="cashflow_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_for_sum_amount_lv" rootPath="sum_amount_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_for_inlease_lv" rootPath="in_lease_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.hls_bp_master_vender_lv" rootPath="vender_info_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_for_lease_item_lv" rootPath="lease_item_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.con_contract_for_lease_item_v" rootPath="lease_item_v_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.hls_bp_master_mortgage_mov_lv" rootPath="mortgage_list_path"/>
<a:model-query defaultWhereClause="t1.contract_id=${/parameter/@contract_id}" fetchAll="true" model="cont.CON500N.bgfl_contract_lease_item_sum_value" rootPath="lease_item_sum_value"/> -->
<!-- <a:model-query fetchAll="true" model="cont.CON500.con_contract_basic_clause_print" rootPath="con_basic_clause_path"/> -->
<w:word-export name="${/parameter/@file_name}.doc" savePath="${/parameter/@file_path}" template="leaf.plugin.export.word/${/parameter/@templt_name}" type="word">
<!-- <w:replaces>
<w:replace name="tt_bank_account_name" path="/model/con_contract_bp_info_path/record/@tt_bank_account_name"/>
<w:replace name="tt_bank_account_num" path="/model/con_contract_bp_info_path/record/@tt_bank_account_num"/>
<w:replace name="charge_fee" path="/model/charge_fee_path/record/@due_amount"/>
<w:replace name="charge_fee_rmb" path="/model/charge_fee_path/record/@due_amount_rmb"/>
<w:replace name="insurance_fee" path="/model/discount_residual_path/record/@insurance_fee"/>
<w:replace name="insurance_fee_rmb" path="/model/discount_residual_path/record/@insurance_fee_rmb"/>
<w:replace name="residual_value" path="/model/discount_residual_path/record/@residual_value"/>
<w:replace name="residual_value_rmb" path="/model/discount_residual_path/record/@residual_value_rmb"/>
<w:replace name="discount_residual_value" path="/model/discount_residual_path/record/@discount_residual_value"/>
<w:replace name="discount_residual_value_rmb" path="/model/discount_residual_path/record/@discount_residual_value_rmb"/>
<w:replace name="finance_amount" path="/model/con_contract_bp_info_path/record/@finance_amount"/>
<w:replace name="finance_amount_rmb" path="/model/con_contract_bp_info_path/record/@finance_amount_rmb"/>
<w:replace name="inception_of_lease_year" path="/model/con_contract_bp_info_path/record/@inception_of_lease_year"/>
<w:replace name="inception_of_lease_month" path="/model/con_contract_bp_info_path/record/@inception_of_lease_month"/>
<w:replace name="inception_of_lease_day" path="/model/con_contract_bp_info_path/record/@inception_of_lease_day"/>
<w:replace name="lease_start_year" path="/model/con_contract_bp_info_path/record/@lease_start_year"/>
<w:replace name="lease_start_month" path="/model/con_contract_bp_info_path/record/@lease_start_month"/>
<w:replace name="lease_start_day" path="/model/con_contract_bp_info_path/record/@lease_start_day"/>
<w:replace name="lease_end_day" path="/model/con_contract_bp_info_path/record/@lease_end_day"/>
<w:replace name="guarantor_names" path="/model/guarantor_mortgage_pledge_path/record/@guarantor_names"/>
<w:replace name="mortgage_names" path="/model/guarantor_mortgage_pledge_path/record/@mortgage_names"/>
<w:replace name="pledge_names" path="/model/guarantor_mortgage_pledge_path/record/@pledge_names"/>
<w:replace name="deposit" path="/model/deposit_path/record/@due_amount"/>
<w:replace name="deposit_rmb" path="/model/deposit_path/record/@due_amount_rmb"/>
<w:replace name="tenant_sec_name" path="/model/con_tenant_sec_info_path/record/@tenant_sec_name"/>
<w:replace name="tenant_sec_legal_person" path="/model/con_tenant_sec_info_path/record/@tenant_sec_legal_person"/>
<w:replace name="tenant_sec_company_address" path="/model/con_tenant_sec_info_path/record/@tenant_sec_company_address"/>
<w:replace name="tenant_sec_company_phone" path="/model/con_tenant_sec_info_path/record/@tenant_sec_company_phone"/>
<w:replace name="tenant_sec_company_fax" path="/model/con_tenant_sec_info_path/record/@tenant_sec_company_fax"/>
<w:replace name="tenant_sec_contact_person" path="/model/con_tenant_sec_info_path/record/@contact_person"/>
<w:replace name="tenant_sec_send_address" path="/model/con_tenant_sec_info_path/record/@tenant_sec_send_address"/>
<w:replace name="tenant_sec_send_phone" path="/model/con_tenant_sec_info_path/record/@tenant_sec_send_phone"/>
<w:replace name="tenant_sec_send_fax" path="/model/con_tenant_sec_info_path/record/@tenant_sec_send_fax"/>
<w:replace name="contract_number" path="/model/con_contract_bp_info_path/record/@contract_number"/>
<w:replace name="main_contract_number" path="/model/con_contract_bp_info_path/record/@main_contract_number"/>
<w:replace name="business_contract_number" path="/model/con_contract_bp_info_path/record/@business_contract_number"/>
<w:replace name="guarantee_contract_number_np" path="/model/con_contract_bp_info_path/record/@guarantee_contract_number_np"/>
<w:replace name="guarantee_contract_number_org" path="/model/con_contract_bp_info_path/record/@guarantee_contract_number_org"/>
<w:replace name="mortgage_contract_number" path="/model/con_contract_bp_info_path/record/@mortgage_contract_number"/>
<w:replace name="pledge_contract_number" path="/model/con_contract_bp_info_path/record/@pledge_contract_number"/>
<w:replace name="pledge_contract_number_gq" path="/model/con_contract_bp_info_path/record/@pledge_contract_number_gq"/>
<w:replace name="pledge_contract_number_dj" path="/model/con_contract_bp_info_path/record/@pledge_contract_number_dj"/>
<w:replace name="bank_account_num" path="/model/companies_info_path/record/@bank_account_num"/>
<w:replace name="bank_branch_name" path="/model/companies_info_path/record/@bank_branch_name"/>
<w:replace name="c_phone" path="/model/companies_info_path/record/@phone"/>
<w:replace name="c_zipcode" path="/model/companies_info_path/record/@zipcode"/>
<w:replace name="c_fax" path="/model/companies_info_path/record/@fax"/>
<w:replace name="c_email" path="/model/companies_info_path/record/@email"/>
<w:replace name="bp_name_pledge" path="/model/con_contract_bp_info_path/record/@bp_name_pledge"/>
<w:replace name="tenant_name" path="/model/con_contract_bp_info_path/record/@bp_name"/>
<w:replace name="tenant_legal_person" path="/model/con_contract_bp_info_path/record/@legal_person"/>
<w:replace name="tenant_company_address" path="/model/con_contract_bp_info_path/record/@tenant_company_address"/>
<w:replace name="tenant_company_phone" path="/model/con_contract_bp_info_path/record/@tenant_company_phone"/>
<w:replace name="tenant_company_fax" path="/model/con_contract_bp_info_path/record/@tenant_company_fax"/>
<w:replace name="lease_item_amount_01_rmb" path="/model/con_contract_bp_info_path/record/@lease_item_amount_01_rmb"/>
<w:replace name="lease_item_amount_01" path="/model/con_contract_bp_info_path/record/@lease_item_amount_01"/>
<w:replace name="lease_times" path="/model/con_contract_bp_info_path/record/@lease_times"/>
<w:replace name="lease_term_rate" path="/model/con_contract_bp_info_path/record/@lease_term_rate"/>
<w:replace name="c_address" path="/model/companies_info_path/record/@address"/>
<w:replace name="tenant_send_address" path="/model/con_contract_bp_info_path/record/@tenant_send_address"/>
<w:replace name="tenant_send_phone" path="/model/con_contract_bp_info_path/record/@tenant_send_phone"/>
<w:replace name="tenant_send_fax" path="/model/con_contract_bp_info_path/record/@tenant_send_fax"/>
<w:replace name="contact_person" path="/model/companies_info_path/record/@contact_person"/>
<w:replace name="lease_item_amount" path="/model/con_contract_bp_info_path/record/@lease_item_amount"/>
<w:replace name="lease_item_amount_rmb" path="/model/con_contract_bp_info_path/record/@lease_item_amount_rmb"/>
<w:replace name="tenant_contact_person" path="/model/con_contract_bp_info_path/record/@contact_person"/>
<w:replace name="int_rate" path="/model/con_contract_bp_info_path/record/@int_rate"/>
<w:replace name="month_int_rate" path="/model/con_contract_bp_info_path/record/@month_int_rate"/>
<w:replace name="down_payment" path="/model/con_contract_bp_info_path/record/@down_payment"/>
<w:replace name="down_payment_rmb" path="/model/con_contract_bp_info_path/record/@down_payment_rmb"/>
<w:replace name="month_pay_times" path="/model/con_contract_bp_info_path/record/@month_pay_times"/>
<w:replace name="tt_bank_branch_name" path="/model/con_contract_bp_info_path/record/@tt_bank_branch_name"/>
<w:replace name="email" path="/model/con_contract_bp_info_path/record/@email"/>
<w:replace name="tenant_send_email" path="/model/con_contract_bp_info_path/record/@tenant_send_email"/>
<w:replace name="tenant_zip_code" path="/model/con_contract_bp_info_path/record/@tenant_zip_code"/>
<w:replace name="lease_item_insurance_way" path="/model/con_contract_bp_info_path/record/@lease_item_insurance_way"/>
<w:replace name="lease_item_insurance_type" path="/model/con_contract_bp_info_path/record/@lease_item_insurance_type"/>
<w:replace name="lease_item_insurance_party" path="/model/con_contract_bp_info_path/record/@lease_item_insurance_party"/>
</w:replaces> --><![CDATA[
]]></w:word-export>
<s:server-script import="contract_print_path.js"><![CDATA[
print_insert_fnd_atm('doc');
]]></s:server-script>
</a:init-procedure>
<a:view>
<script type="text/javascript"><![CDATA[
window.close();
]]></script>
</a:view>
</a:screen>