Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
ae79bd14
Commit
ae79bd14
authored
Oct 17, 2019
by
niminmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改催收页面字段
parent
0d8fc5a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
54 deletions
+57
-54
con_contract_rent_dun_query.lview
...app/modules/cont/CON620/con_contract_rent_dun_query.lview
+57
-54
No files found.
src/main/webapp/modules/cont/CON620/con_contract_rent_dun_query.lview
View file @
ae79bd14
...
...
@@ -8,31 +8,32 @@
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"con_contract_lawyer_letter_print_link_id"
url=
"${/request/@context_path}/modules/cont/CON620/con_contract_lawyer_letter_print.lview"
/>
<a:link
id=
"penalty_change_id"
url=
"${/request/@context_path}/modules/cont/CON747/con_contract_penatly_change_req_detail.lview"
/>
<a:link
id=
"con_contract_dun_detail_link_id"
url=
"${/request/@context_path}/modules/cont/CON620/con_contract_rent_detail.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function CON601_con_contract_query() {
$('CON620_contract_result_ds').query();
}
function CON601_con_contract_reset() {
$('CON620_contract_query_ds').reset();
}
function penalty_change_btn() {
// Leaf.go(url);
// var contract_id=$('CON620_contract_result_ds').getSelected().get('contract_id');
var url=$('penalty_change_id').getUrl();
// var url=$('penalty_change_id').getUrl()+'?contract_id='+contract_id;
new Leaf.Window({
id: 'penalty_change_window',
id: 'penalty_change_window',
fullScreen:true,
url: url
});
}
function CON601_con_contract_print() {
//待报表做好,在此处写
var contract_id = $('CON620_contract_result_ds').getSelected()[0].get('contract_id');
new Leaf.Window({
id: 'con_contract_lawyer_letter_print_detail_winid',
params: {
...
...
@@ -44,10 +45,10 @@
width: 600,
height: 400
});
}
function CON620_render_contract_dun_grid(value, record, name) {
if (name == 'contract_number') {
if (record.get('overdue_times') >
1) {
...
...
@@ -74,10 +75,10 @@
}
}
}
function bp_id_tenant_desc_link(contract_id) {
var url = $('con_dun_record_id').getUrl() + '?contract_id=' + contract_id;
var win = new Leaf.Window({
id: 'con_dun_record_window',
url: url,
...
...
@@ -88,7 +89,7 @@
$('CON620_contract_result_ds').query();
});
}
function bp_id_agent_desc_link(bp_id, bp_class) {
var url = $('hls_bp_master_id').getUrl();
new Leaf.Window({
...
...
@@ -102,20 +103,20 @@
title: '${l:HLS212.BP_MASTER_MAINTAIN}',
fullScreen: true
});
}
function con601_param_set_value(param) {
param['document_category'] = 'CONTRACT';
param['function_code'] = 'CON
301
';
param['function_code'] = 'CON
620D
';
param['function_usage'] = 'QUERY';
param['maintain_type'] = '
READONL
Y';
param['url_title'] = '
${l:CON301.CONTRACT_DETAIL}
';
param['maintain_type'] = '
QUER
Y';
param['url_title'] = '
催收详情
';
param['company_id'] = '${/session/@company_id}';
//
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_
update
_link_id', 'CON620_contract_result_ds');
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_
dun_detail
_link_id', 'CON620_contract_result_ds');
}
function contract_link(id) {
//
var current_record = $('CON620_contract_result_ds').findById(id);
...
...
@@ -131,9 +132,9 @@
param['document_id'] = current_record.get('contract_id');
con601_param_set_value(param);
}
function summaryRenderer(datas, name) {
var sum = 0;
var sum2 = 0;
var sum3 = 0;
...
...
@@ -155,7 +156,7 @@
sum2
+=
d_2;
}
}
if
(
name =
=
"penalty")
{
var
p_1 =
record.get("penalty");
var
p_2 =
parseFloat(p_1);
...
...
@@ -163,7 +164,7 @@
sum3
+=
p_2;
}
}
if
(
name =
=
"promised_return_amount")
{
var
r_1 =
record.get("promised_return_amount");
var
r_2 =
parseFloat(r_1);
...
...
@@ -198,12 +199,12 @@
return '
<font
color=
"red"
>
' + Leaf.formatNumber(sum5, 2) + '
</font>
';
}
}
function onIndexChange(ds, record, name, value, oldvalue) {
$('bgt_contract_payment_detail_line_ds').setQueryParameter('contract_id', record.get('contract_id'));
$('bgt_contract_payment_detail_line_ds').query();
}
function ds_query(ds) {
if(ds.getAll().length==0) {
$('bgt_contract_payment_detail_line_ds').setQueryParameter('contract_id', null);
...
...
@@ -239,18 +240,18 @@
<a:field
name=
"promised_return_date"
datatype=
"date"
/>
</a:fields>
<a:events>
<
a:event
name=
"indexChange"
handler=
"onIndexChange"
/
>
<
!--<a:event name="indexChange" handler="onIndexChange"/>--
>
<a:event
name=
"load"
handler=
"ds_query"
/>
</a:events>
</a:dataSet>
<
a:dataSet
id=
"bgt_contract_payment_detail_line_ds"
fetchAll=
"true"
model=
"cont.CON620.bgt_contract_payment_detail_line"
/
>
<
!--<a:dataSet id="bgt_contract_payment_detail_line_ds" fetchAll="true" model="cont.CON620.bgt_contract_payment_detail_line"/>--
>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton
click=
"CON601_con_contract_query"
text=
"HLS.QUERY"
/>
<a:gridButton
click=
"CON601_con_contract_reset"
text=
"HLS.RESET"
/>
<
a:gridButton
id=
"CON601_con_contract_print_btn"
click=
"CON601_con_contract_print"
text=
"打印催收函"
/
>
<
!--<a:gridButton id="CON601_con_contract_print_btn" click="CON601_con_contract_print" text="打印催收函"/>--
>
</a:screenTopToolbar>
<a:form
column=
"4"
labelWidth=
"100"
marginWidth=
"30"
title=
"CON301.CONTRACT_QUERY"
>
<a:textField
name=
"contract_number"
bindTarget=
"CON620_contract_query_ds"
prompt=
"HLS.CONTRACT_NUMBER"
/>
...
...
@@ -262,37 +263,39 @@
<a:numberField
name=
"due_amount_from"
allowDecimals=
"false"
bindTarget=
"CON620_contract_query_ds"
prompt=
"预定收款金额从"
/>
<a:numberField
name=
"due_amount_to"
allowDecimals=
"false"
bindTarget=
"CON620_contract_query_ds"
prompt=
"预定收款金额至"
/>
</a:form>
<a:grid
id=
"CON601_con_contract_grid_ds"
bindTarget=
"CON620_contract_result_ds"
marginHeight=
"
38
0"
marginWidth=
"30"
navBar=
"true"
>
<a:grid
id=
"CON601_con_contract_grid_ds"
bindTarget=
"CON620_contract_result_ds"
marginHeight=
"
15
0"
marginWidth=
"30"
navBar=
"true"
>
<a:columns>
<a:column
name=
"contract_number"
lock=
"true"
prompt=
"HLS.CONTRACT_NUMBER"
renderer=
"CON620_render_contract_dun_grid"
width=
"150"
/>
<a:column
name=
"bp_id_tenant_desc"
lock=
"true"
prompt=
"承租人名称"
renderer=
"CON620_render_contract_dun_grid"
showTitle=
"true"
width=
"210"
/>
<a:column
name=
"status_desc"
align=
"center"
prompt=
"催收状态"
/>
<a:column
name=
"lease_organization_desc"
align=
"center"
prompt=
"业务部"
width=
"120"
/>
<a:column
name=
"lease_times"
align=
"center"
prompt=
"租赁期数"
width=
"60"
/>
<a:column
name=
"recieved_times"
align=
"center"
prompt=
"已还期数"
width=
"60"
/>
<a:column
name=
"overdue_times"
align=
"center"
prompt=
"逾期期数"
width=
"60"
/>
<a:column
name=
"overdue_days"
align=
"center"
footerRenderer=
"summaryRenderer"
prompt=
"逾期天数"
width=
"60"
/>
<a:column
name=
"overdue_amount"
align=
"right"
footerRenderer=
"summaryRenderer"
prompt=
"逾期金额"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"penalty"
align=
"right"
footerRenderer=
"summaryRenderer"
prompt=
"逾期罚息"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"remain_principal"
align=
"right"
footerRenderer=
"summaryRenderer"
prompt=
"剩余租金"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"deposit"
align=
"right"
footerRenderer=
"summaryRenderer"
prompt=
"保证金"
renderer=
"Leaf.formatMoney"
/>
</a:columns>
</a:grid>
<a:grid
bindTarget=
"bgt_contract_payment_detail_line_ds"
marginHeight=
"420"
marginWidth=
"30"
navBar=
"true"
showRowNumber=
"true"
>
<a:columns>
<!-- <a:column name="bp_name" prompt="承租人名称" width="200" showTitle="true"/>
<a:column name="contract_number" prompt="HLS.CONTRACT_NUMBER" width="150"/> -->
<a:column
name=
"times"
align=
"center"
prompt=
"CON305.TIMES"
width=
"80"
/>
<a:column
name=
"due_date"
align=
"center"
prompt=
"CON305.DUE_DATE"
renderer=
"Leaf.formatDate"
/>
<a:column
name=
"due_amount"
align=
"right"
prompt=
"CON305.DUE_AMOUNT"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"principal"
align=
"right"
prompt=
"CON305.PRINCIPAL"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"interest"
align=
"right"
prompt=
"CON305.INTEREST"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"write_off_date"
align=
"center"
prompt=
"实际收款日"
renderer=
"Leaf.formatDate"
/>
<a:column
name=
"write_off_due_amount"
align=
"right"
prompt=
"实际收款金额"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"write_off_principal"
align=
"right"
prompt=
"实际收款本金"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"write_off_interest"
align=
"right"
prompt=
"实际收款利息"
renderer=
"Leaf.formatMoney"
/>
<a:column
name=
"contract_name"
align=
"center"
prompt=
"合同名称"
/>
<!--<a:column name="bp_id_tenant_desc" lock="true" prompt="承租人名称" renderer="CON620_render_contract_dun_grid" showTitle="true" width="210"/>-->
<a:column
name=
"bp_id_tenant_desc"
lock=
"true"
prompt=
"承租人名称"
showTitle=
"true"
width=
"100"
align=
"center"
/>
<a:column
name=
"bp_id_agent_desc"
align=
"center"
prompt=
"代理店"
width=
"120"
/>
<a:column
name=
"bussiness_type_n"
align=
"center"
prompt=
"业务类型"
width=
"60"
/>
<a:column
name=
"division_n"
align=
"center"
prompt=
"产品线"
width=
"60"
/>
<a:column
name=
"account_due_times"
align=
"right"
prompt=
"会计逾期总期数"
renderer=
"Leaf.formatMoney"
width=
"100"
/>
<a:column
name=
"account_due_days"
align=
"right"
prompt=
"会计逾期总天数"
renderer=
"Leaf.formatMoney"
width=
"100"
/>
<a:column
name=
"account_due_damount"
align=
"right"
prompt=
"会计逾期总金额"
renderer=
"Leaf.formatMoney"
width=
"100"
/>
<a:column
name=
"business_due_times"
align=
"right"
prompt=
"营业逾期总期数"
renderer=
"Leaf.formatMoney"
width=
"100"
/>
<a:column
name=
"business_due_days"
align=
"right"
prompt=
"营业逾期总天数"
renderer=
"Leaf.formatMoney"
width=
"100"
/>
<a:column
name=
"business_due_amount"
align=
"right"
prompt=
"营业逾期总金额"
renderer=
"Leaf.formatMoney"
width=
"100"
/>
</a:columns>
</a:grid>
<!--<a:grid bindTarget="bgt_contract_payment_detail_line_ds" marginHeight="420" marginWidth="30" navBar="true" showRowNumber="true">-->
<!--<a:columns>-->
<!--<!– <a:column name="bp_name" prompt="承租人名称" width="200" showTitle="true"/>-->
<!--<a:column name="contract_number" prompt="HLS.CONTRACT_NUMBER" width="150"/> –>-->
<!--<a:column name="times" align="center" prompt="CON305.TIMES" width="80"/>-->
<!--<a:column name="due_date" align="center" prompt="CON305.DUE_DATE" renderer="Leaf.formatDate"/>-->
<!--<a:column name="due_amount" align="right" prompt="CON305.DUE_AMOUNT" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="principal" align="right" prompt="CON305.PRINCIPAL" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="interest" align="right" prompt="CON305.INTEREST" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="write_off_date" align="center" prompt="实际收款日" renderer="Leaf.formatDate"/>-->
<!--<a:column name="write_off_due_amount" align="right" prompt="实际收款金额" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="write_off_principal" align="right" prompt="实际收款本金" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="write_off_interest" align="right" prompt="实际收款利息" renderer="Leaf.formatMoney"/>-->
<!--</a:columns>-->
<!--</a:grid>-->
</a:screenBody>
</a:view>
</a:screen>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment