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
1ae499ac
Commit
1ae499ac
authored
May 21, 2024
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金付款申请逾期高亮显示
parent
0cc94d47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
+32
-2
csh_payment_comm_req.lview
...ain/webapp/modules/csh/CSH501R/csh_payment_comm_req.lview
+32
-2
No files found.
src/main/webapp/modules/csh/CSH501R/csh_payment_comm_req.lview
View file @
1ae499ac
...
...
@@ -106,10 +106,26 @@
qpara['payment_bp_id'] = '${/parameter/@payment_bp_id}';
}
function setListInterval(record, grid_id) {
var btnListInterval = setTimeout(function() {
var field_color = null;
btnListInterval = null;
var overdue_max_days = record.get('overdue_max_days') ;
if (overdue_max_days>
0) {
field_color = '#FF9965';
}else{
field_color = '';
}
if (Ext.get(grid_id) ) {
Ext.get(grid_id).select('tr[_row=' + record.id + ']').setStyle({
backgroundColor: field_color
});
}
}, 200);
}
//grid加载
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function (ds,
record, config_records, bp_seq
) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function (ds,
line_record
) {
var lnds_id_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'csh_payment_req_ln');
if(lnds_id_ds_id == ds.id
&&
lnds_id_ds_id){
if ('${/parameter/@source_type}' != 'WFL_ACCT') {
...
...
@@ -118,6 +134,20 @@
$(gridId).hideColumn('journal_date');
}
}
var ds_length = $(lnds_id_ds_id).getAll().length;
var dsId = ds.id;
var grid_id = dsId.replace('ds', 'layout_grid_id');
if (!Ext.isEmpty(line_record)) {
for (i=0;i
< ds_length
;i++)
{
var
overdue_max_days =
$(lnds_id_ds_id).getAll()[i].get('overdue_max_days');
if
(overdue_max_days
!=
'undefined'
&&
overdue_max_days
!=
null
&&
overdue_max_days
!=
'')
{
if
(overdue_max_days
>
0) {
setListInterval(line_record, grid_id);
}
}
}
}
}
var dirty_flag = 'N';
...
...
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