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
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: nyl
$Date: 2015-3-13 上午10:30:25
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true">
<a:init-procedure>
<a:model-query fetchAll="true" model="cont.CON620.get_sysdate" rootPath="sysdate"/>
</a:init-procedure>
<a:view>
<a:link id="con_contract_update_link_id" url="${/request/@context_path}/modules/cont/CON501N/con_contract_modify.lview"/>
<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[
function cus318_con_contract_return() {
history.go(-1);
}
function cus318_con_contract_query() {
$('cus318_contract_result_ds').query();
}
function cus318_con_contract_reset(){
$('cus318_contract_query_ds').reset();
}
function cus318_con_contract_export(){
$('con501_con_contract_grid_ds')._export();
}
function init(){
var record = $('cus318_contract_query_ds').getAt(0);
record.set('end_date','${/model/sysdate/record/@sys_date_c}');
}
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
<!-- <a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&function_code=cus318"/> -->
<a:dataSets>
<a:dataSet id="con301_division_name_ds" loadData="true" model="basic.hls_division_for_lov"/>
<a:dataSet id="cus318_contract_query_ds" autoCreate="true">
<a:fields>
<a:field name="bp_id_tenant_c" autoComplete="true" lovGridHeight="350" lovHeight="500" lovService="basic.hls_bp_master_v_for_lov?bp_category=TENANT" lovWidth="500" title="HLS.BP_TITLE">
<a:mapping>
<a:map from="bp_code" to="bp_id_tenant_c"/>
<a:map from="bp_name" to="bp_id_tenant_n"/>
<a:map from="bp_id" to="bp_id_tenant"/>
</a:mapping>
</a:field>
<a:field name="contract_number" autoComplete="true" autoCompleteField="contract_number" lovGridHeight="300" lovHeight="450" lovService="cont.CON500.con_contract_number_lov" lovWidth="500" title="HLS.CONTRACT_NUMBER">
<a:mapping>
<a:map from="contract_number" to="contract_number"/>
</a:mapping>
</a:field>
<a:field name="bp_id_tenant"/>
<a:field name="bp_id_tenant_n"/>
<a:field name="division_desc" displayField="description" options="con301_division_name_ds" returnField="division" valueField="division"/>
<a:field name="search_term_1"/>
<a:field name="division"/>
<a:field name="serial_number"/>
<a:field name="end_date" required="true"/>
</a:fields>
</a:dataSet>
<a:dataSet id="cus318_contract_result_ds" autoPageSize="true" model="cus.CUS318.cus_con_contact_ar_detail_lv" queryDataSet="cus318_contract_query_ds" selectable="true">
<!-- <a:events>
<a:event name="query" handler="aut_authority_list_validate_query"/>
</a:events> --><![CDATA[
]]></a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton click="cus318_con_contract_return" text="HLS.RETURN"/>
<a:gridButton click="cus318_con_contract_query" text="HLS.QUERY"/>
<a:gridButton click="cus318_con_contract_reset" text="HLS.RESET"/>
<a:gridButton click="cus318_con_contract_export" text="导出"/>
</a:screenTopToolbar>
<a:form column="3" labelSeparator=" " labelWidth="100" marginWidth="30" title="CON301.CONTRACT_QUERY">
<a:lov name="bp_id_tenant_c" bindTarget="cus318_contract_query_ds" prompt="客户编码"><![CDATA[
]]></a:lov>
<a:textField name="bp_id_tenant_n" bindTarget="cus318_contract_query_ds" prompt="客户名称"/>
<a:comboBox name="division_desc" bindTarget="cus318_contract_query_ds" prompt="产品线"/>
<a:textField name="serial_number" bindTarget="cus318_contract_query_ds" prompt="设备编号"/>
<a:datePicker name="end_date" bindTarget="cus318_contract_query_ds" prompt="收款日期"/>
</a:form>
<a:grid id="con501_con_contract_grid_ds" bindTarget="cus318_contract_result_ds" marginHeight="200" marginWidth="30" navBar="true">
<a:columns>
<a:column name="contract_number" align="left" prompt="合同序号" width="100"/>
<a:column name="search_term_1" align="left" prompt="合同号" width="100"/>
<a:column name="bp_id_tenant_n" align="left" prompt="承租人" width="100"/>
<a:column name="serial_number" align="left" prompt="设备编号" width="100"/>
<a:column name="pay_type_n" align="left" prompt="付款方式" width="100"/>
<a:column name="dd_bank_account_num" align="left" prompt="扣款卡号" width="100"/>
<a:column name="inception_of_lease" align="right" prompt="起租日" renderer="Leaf.formatDate" width="100"/>
<a:column name="lease_end_date" align="right" prompt="到期日" renderer="Leaf.formatDate" width="100"/>
<a:column name="due_amount_all" align="right" prompt="月还款金额(计划)" showTitle="true" width="100"/>
<a:column name="due_amount_current" align="right" prompt="本月应收租金" renderer="Leaf.formatMoney" width="100"/>
<a:column name="due_amount_old" align="right" prompt="陈欠租金" renderer="Leaf.formatMoney" width="100"/>
<a:column name="due_amount_now" align="right" prompt="当前应收租金" renderer="Leaf.formatMoney" width="100"/>
<a:column name="penalty_1" align="right" prompt="第一期罚息" renderer="Leaf.formatMoney" width="100"/>
<a:column name="penalty_sum" align="right" prompt="总罚息" renderer="Leaf.formatMoney" width="100"/>
<a:column name="lease_mgt_fee" align="right" prompt="管理费" renderer="Leaf.formatMoney" width="100"/>
<a:column name="lease_charge" align="right" prompt="手续费" renderer="Leaf.formatMoney" width="100"/>
<a:column name="deposit" align="right" prompt="保证金" renderer="Leaf.formatMoney" width="100"/>
<a:column name="insurance_fee" align="right" prompt="保险费" renderer="Leaf.formatMoney" width="100"/>
<a:column name="notarial_fee" align="right" prompt="公证费" renderer="Leaf.formatMoney" width="100"/>
<a:column name="legal_fee" align="right" prompt="法律费用" renderer="Leaf.formatMoney" width="100"/>
<a:column name="contract_status_n" align="left" prompt="合同状态" width="100"/>
<a:column name="ar_description" align="right" prompt="备注" width="100"/>
<!-- <a:column name="transition_date" align="right" renderer="Leaf.formatDate" prompt="收款日期" width="100"/> -->
</a:columns>
</a:grid>
</a:screenBody>
<script type="text/javascript"><![CDATA[
init();
]]></script>
</a:view>
</a:screen>