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
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: hand
$Date: 2016-5-3 下午3:36:03
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true">
<a:init-procedure/>
<a:view>
<a:link id="wfl_con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
<a:link id="wfl_prj_chance_create_link" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain.lview"/>
<script type="text/javascript"><![CDATA[
function query_con_contract_read_lv_result_ds() {
$('con_contract_read_lv_result_ds').query();
}
function reset_con_contract_read_lv_query_ds() {
$('con_contract_read_lv_query_ds').reset();
}
function on_base_ds_project_number_render(value, record, name) {
return '<a href="javascript:do_open_prj(\'' + record.ds.id + '\')" >' + value + '</a>';
}
function do_open_prj(ds_id) {
var record = $(ds_id).getCurrentRecord();
record.set('function_code', 'PRJ501W');
record.set('function_usage', 'QUERY');
record.set('document_category', 'PROJECT');
record.data['url_title'] = '租赁申请查询';
record.data['window_open_flag'] = 'Y';
record.data['show_history_flag'] = 'Y';
var param = record.data;
hls_doc_get_layout_code('wfl_con_contract_get_layout_code_link_id', param, 'wfl_prj_chance_create_link');
}
]]></script>
<a:dataSets>
<a:dataSet id="division_desc_ds" autoQuery="true" model="cont.CON555A.hls_division"/>
<a:dataSet id="con_contract_read_lv_query_ds">
<a:fields>
<a:field name="contract_number"/>
<a:field name="project_number"/>
<a:field name="bp_name"/>
<a:field name="division_desc"/>
<a:field name="division_desc_n" displayField="description" options="division_desc_ds" returnField="division_desc" valueField="division"/>
</a:fields>
</a:dataSet>
<a:dataSet id="con_contract_read_lv_result_ds" autoQuery="true" model="cont.CON555B.con_contract_read_lv" queryDataSet="con_contract_read_lv_query_ds" selectable="true" selectionModel="single">
<a:fields>
<a:field name="contract_id"/>
<a:field name="calc_session_id"/>
<a:field name="contract_number"/>
<a:field name="project_number"/>
<a:field name="project_id"/>
<a:field name="bp_name"/>
<a:field name="business_type_desc"/>
<a:field name="division_desc"/>
<a:field name="bp_class_desc"/>
<a:field name="invoice_agent_desc"/>
<a:field name="lease_item_amount"/>
<a:field name="cdd_list_id"/>
<a:field name="archive_status"/>
<a:field name="collect_complete"/>
<a:field name="collect_complete_date"/>
<a:field name="full_write_off_date"/>
<a:field name="archive_remind"/>
<a:field name="reg_status_n"/>
<a:field name="archive_status_n"/>
<a:field name="collect_complete_n"/>
<a:field name="archive_remind_n"/>
<a:field name="doc_type1"/>
<a:field name="doc_type2"/>
<!-- ooo -->
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton click="" text="退回"/>
<a:gridButton click="query_con_contract_read_lv_result_ds" text="查询"/>
<a:gridButton click="" text="调阅申请"/>
<a:gridButton click="reset_con_contract_read_lv_query_ds" text="重置"/>
</a:screenTopToolbar>
<a:form column="4" labelWidth="100" marginWidth="30" title="贷后资料管理查询">
<a:textField name="contract_number" bindTarget="con_contract_read_lv_query_ds" prompt="合同编号"/>
<a:textField name="project_number" bindTarget="con_contract_read_lv_query_ds" colspan="1" prompt="申请编号"/>
<a:textField name="bp_name" bindTarget="con_contract_read_lv_query_ds" prompt="承租人"/>
<a:comboBox name="division_desc_n" bindTarget="con_contract_read_lv_query_ds" prompt="产品线"/>
</a:form>
<a:grid id="grid_id" bindTarget="con_contract_read_lv_result_ds" marginHeight="230" marginWidth="30" navBar="true">
<a:toolBar>
<a:button type="excel"/>
<a:button type="clear"/>
</a:toolBar>
<a:columns>
<a:column name="contract_number" prompt="合同编号" width="160"/>
<a:column name="project_number" prompt="申请编号" renderer="on_base_ds_project_number_render" width="100"/>
<!-- <a:column name="employee_name" prompt="承租人" width="100"/> -->
<a:column name="bp_name" prompt="承租人" width="100"/>
<a:column name="business_type_desc" prompt="业务类型" width="100"/>
<a:column name="division_desc" prompt="产品线" width="100"/>
<a:column name="bp_class_desc" prompt="客户类别" width="100"/>
<a:column name="invoice_agent_desc" prompt="代理商" width="100"/>
<a:column name="lease_item_amount" prompt="租赁物总价" width="100"/>
<a:column name="archive_remind_n" prompt="归档提醒" width="100"/>
<a:column name="archive_status_n" prompt="归档状态" width="60"/>
<a:column name="doc_type1" prompt="合同归档编号" width="100"/>
<a:column name="reg_status_n" prompt="登记证归档" width="100"/>
<a:column name="doc_type2" prompt="登记证归档编号" width="100"/>
</a:columns>
</a:grid>
<a:hBox/>
</a:screenBody>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
</a:view>
</a:screen>