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
9039805b
Commit
9039805b
authored
Apr 06, 2021
by
李贺贺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
原合同剩余应收金额取值
parent
5fb0dc40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
hls_con_contract_change_detail.lview
.../modules/cont/CON731/hls_con_contract_change_detail.lview
+6
-0
con_contract_change_repo_detail.lview
...es/cont/CON_REPO001/con_contract_change_repo_detail.lview
+10
-1
No files found.
src/main/webapp/modules/cont/CON731/hls_con_contract_change_detail.lview
View file @
9039805b
...
@@ -292,6 +292,12 @@
...
@@ -292,6 +292,12 @@
}
}
}
}
if('${/parameter/@function_code}'
==
'CON_REPO001D_WQ'){
if
(!record.get('rec_residue_amount')){
var
rec_residue_amount =
record.get('sum_unreceived_rent_amount')
+
record.get('sum_overdue_amount')+record.get('due_amount')+record.get('residual_value');
record.set('rec_residue_amount',rec_residue_amount);
}
}
};
};
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click']
=
function
()
{
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click']
=
function
()
{
...
...
src/main/webapp/modules/cont/CON_REPO001/con_contract_change_repo_detail.lview
View file @
9039805b
...
@@ -69,6 +69,11 @@
...
@@ -69,6 +69,11 @@
// }
// }
// }
// }
}
}
//add by lihh 20210401 原合同剩余应收金额取值
if (!record.get('rec_residue_amount')){
var rec_residue_amount = record.get('sum_unreceived_rent_amount') + record.get('sum_overdue_amount')+record.get('due_amount')+record.get('residual_value');
record.set('rec_residue_amount',rec_residue_amount);
}
};
};
function compareDate(start, end) {
function compareDate(start, end) {
...
@@ -106,7 +111,6 @@
...
@@ -106,7 +111,6 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update']
=
function(ds,
record,
name,
value,
old_value,
bp_seq)
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update']
=
function(ds,
record,
name,
value,
old_value,
bp_seq)
{
debugger;
if(value!=old_value){
if(value!=old_value){
record.set('offset_flag',
'N');
record.set('offset_flag',
'N');
}
}
...
@@ -262,6 +266,9 @@
...
@@ -262,6 +266,9 @@
repurchase_date: value
repurchase_date: value
},
},
success: function (res) {
success: function (res) {
debugger;
//add by lihh 20210329原合同应收剩余金额取值
var rec_residue_amount;
record.set('last_rent_due_date', res.result.last_rent_due_date);
record.set('last_rent_due_date', res.result.last_rent_due_date);
record.set('sum_received_rent_amount', res.result.sum_received_rent_amount || 0);
record.set('sum_received_rent_amount', res.result.sum_received_rent_amount || 0);
record.set('sum_unreceived_rent_amount', res.result.sum_unreceived_rent_amount || 0);
record.set('sum_unreceived_rent_amount', res.result.sum_unreceived_rent_amount || 0);
...
@@ -270,6 +277,8 @@
...
@@ -270,6 +277,8 @@
record.set('due_amount', res.result.due_amount || 0);
record.set('due_amount', res.result.due_amount || 0);
record.set('ccr_due_amount', res.result.due_amount || 0);
record.set('ccr_due_amount', res.result.due_amount || 0);
record.set('offset_flag', 'N');
record.set('offset_flag', 'N');
rec_residue_amount = record.get('sum_unreceived_rent_amount') + record.get('sum_overdue_amount')+record.get('due_amount')+record.get('residual_value');
record.set('rec_residue_amount',rec_residue_amount || 0);
//record.set('fund_possession_cost', res.result.fund_possession_cost || 0);
//record.set('fund_possession_cost', res.result.fund_possession_cost || 0);
},
},
failure: function () {
failure: function () {
...
...
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