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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: chenlingfeng
$Date: 2014-12-17 下午1:24:02
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:c="leaf.application.action" xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application">
<a:init-procedure>
<a:model-query fetchAll="true" model="prj.PRJ600.prj_project_lease_scheme" rootPath="prj_lease_scheme"/>
</a:init-procedure>
<a:view>
<a:link id="${/parameter/@project_id}prj_hls_fin_calculator_readonly_link_id" url="${/request/@context_path}/modules/hls/HLS500/hls_fin_calculator_readonly.lview"/>
<script type="text/javascript"><![CDATA[
function quote_link(document_id, calc_session_id) {
url = $('${/parameter/@project_id}prj_hls_fin_calculator_readonly_link_id').getUrl();
new Leaf.Window({
id: 'prj_project_wfl_hls_fin_calc_readonly_link_winid',
params: {
document_id: document_id,
document_category: 'PROJECT',
maintain_type: 'READONLY',
calc_session_id: calc_session_id,
winId: 'prj_project_wfl_hls_fin_calc_readonly_link_winid',
global_flag: 'Y',
calc_type: 'CLASSIC_CALCULATOR'
},
url: url,
fullScreen: true,
draggable: true
});
}
]]></script>
<style><![CDATA[
.prompt{
background-color:#E6E6FA;
width:200px;
text-align:right;
}
.valuefield{
width:200px;
text-align:right;
}
.prompt_calc{
width:187.5px;
text-align:right;
background-color:#E6E6FA;
}
.valuefield_calc{
width:157.5px;
text-align:right;
}
.moneyfield{
width:200px;
text-align:right;
}
.trheight{
height:25px;
}
]]></style>
<a:screenBody>
<a:tabPanel height="250" marginWidth="50">
<a:tabs>
<a:placeHolder id="lease_scheme_ph"/>
</a:tabs>
</a:tabPanel>
</a:screenBody>
</a:view>
<a:view-config>
<c:create-config targetId="lease_scheme_ph">
<p:loop source="/model/prj_lease_scheme">
<c:process-config>
<a:tab height="200" prompt="方案${@rownum}" width="120">
<a:form marginWidth="80" title=" ">
<table border="1" bordercolor="#a0c6e5" style="border-collapse:collapse;">
<tr class="trheight">
<td class="prompt"><![CDATA[项目总价款:]]></td>
<td class="moneyfield"><![CDATA[${@lease_item_amount}]]></td>
<td class="prompt"><![CDATA[融资额:]]></td>
<td class="moneyfield"><![CDATA[${@finance_amount}]]></td>
<td class="prompt"><![CDATA[首付比例:]]></td>
<td class="valuefield"><![CDATA[${@down_payment_ratio}]]></td>
<td class="prompt"><![CDATA[首付金额:]]></td>
<td class="valuefield"><![CDATA[${@down_payment}]]></td>
</tr>
<tr class="trheight">
<td class="prompt"><![CDATA[还款期数:]]></td>
<td class="valuefield"><![CDATA[${@lease_times}]]></td>
<td class="prompt"><![CDATA[支付频率:]]></td>
<td class="valuefield"><![CDATA[${@annual_pay_times_n}]]></td>
<td class="prompt"><![CDATA[租赁期限(年):]]></td>
<td class="valuefield"><![CDATA[${@lease_term}]]></td>
<td class="prompt"><![CDATA[租赁年利率:]]></td>
<td class="moneyfield"><![CDATA[${@int_rate}]]></td>
</tr>
<tr class="trheight">
<td class="prompt"><![CDATA[保证金比例:]]></td>
<td class="moneyfield"><![CDATA[${@deposit_ratio}]]></td>
<td class="prompt"><![CDATA[保证金:]]></td>
<td class="moneyfield"><![CDATA[${@deposit}]]></td>
<td class="prompt"><![CDATA[手续费比例:]]></td>
<td class="moneyfield"><![CDATA[${@lease_charge_ratio}]]></td>
<td class="prompt"><![CDATA[手续费:]]></td>
<td class="moneyfield"><![CDATA[${@lease_charge}]]></td>
</tr>
<tr class="trheight">
<td class="prompt"><![CDATA[优惠留购价款比例:]]></td>
<td class="moneyfield"><![CDATA[${@residual_ratio}]]></td>
<td class="prompt"><![CDATA[优惠留购价款:]]></td>
<td class="moneyfield"><![CDATA[${@residual_value}]]></td>
<td class="prompt"><![CDATA[租金总额:]]></td>
<td class="moneyfield"><![CDATA[${@contract_amount}]]></td>
<td class="prompt"><![CDATA[咨询服务费:]]></td>
<td class="moneyfield"><![CDATA[${@hd_user_col_n03}]]></td>
</tr>
<tr class="trheight">
<td class="prompt"><![CDATA[宽限期数:]]></td>
<td class="moneyfield"><![CDATA[${@hd_user_col_n20}]]></td>
<td class="prompt"><![CDATA[概算IRR:]]></td>
<td class="moneyfield"><![CDATA[${@irr}]]></td>
<td class="prompt"><![CDATA[支付类型:]]></td>
<td class="valuefield"><![CDATA[${@pay_type_n}]]></td>
<td class="prompt"><![CDATA[更多:]]></td>
<td class="valuefield">
<a href="javascript:quote_link(${@document_id},${@calc_session_id})">
<font color="red"><![CDATA[点击查看明细]]></font>
</a>
</td>
</tr>
</table>
</a:form>
</a:tab>
</c:process-config>
</p:loop>
</c:create-config>
</a:view-config>
</a:screen>