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
f3af82bd
Commit
f3af82bd
authored
Apr 08, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金政策报表开发
parent
973a194a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
1 deletion
+48
-1
commission_report_g_result_queryfields.js
...pt/layoutconfig/commission_report_g_result_queryfields.js
+8
-0
layout_config.js
...ebapp/WEB-INF/server-script/layoutconfig/layout_config.js
+5
-1
con_commission_report.lview
...n/webapp/modules/cont/CON1380/con_commission_report.lview
+35
-0
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/commission_report_g_result_queryfields.js
0 → 100644
View file @
f3af82bd
var
override_queryfields
=
[
];
var
add_datafilters
=
[{
name
:
'commission_month'
,
expression
:
"t1.commission_month= ${/parameter/@commission_month}"
}];
add_datafilter
();
override
();
\ No newline at end of file
src/main/webapp/WEB-INF/server-script/layoutconfig/layout_config.js
View file @
f3af82bd
...
...
@@ -352,5 +352,9 @@ var enableLayoutConfig = {
'modules/cont/CON1370/con_asset_fee_detail.lview'
:
true
,
'modules/hls/HLS303/bp_agent_bounty_create.lview'
:
true
,
'modules/hls/HLS303/bp_agent_bounty_detail.lview'
:
true
,
'modules/acp/ACP522/ap_invoice_com_detail.lview'
:
true
'modules/acp/ACP522/ap_invoice_com_detail.lview'
:
true
,
'modules/csh/CSH501R/csh_payment_comm_create_entrance.lview'
:
true
,
'modules/csh/CSH501R/csh_payment_comm_selected.lview'
:
true
,
'modules/csh/CSH501R/csh_payment_comm_req.lview'
:
true
,
'modules/cont/CON1380/con_commission_report.lview'
:
true
};
\ No newline at end of file
src/main/webapp/modules/cont/CON1380/con_commission_report.lview
0 → 100644
View file @
f3af82bd
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:view>
<script>
<![CDATA[
$L.onReady(function(){
debugger;
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_QUERY', 'con_contract');
var re_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_RESULT', 'con_contract');
var record = $(ds_id).getCurrentRecord();
var baseDate = record.get('base_date');
if(baseDate == undefined){
$(re_ds_id).setQueryParameter('commission_month','1');
$(re_ds_id).query();
}
});
//查询时调用(grid,table,gridBox)
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function(ds, record, config_records, bp_seq) {
debugger;
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_QUERY', 'con_contract');
var re_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_RESULT', 'con_contract');
var record = $(ds_id).getCurrentRecord();
var baseDate = record.get('base_date');
if(baseDate == undefined){
$L.showMessage('提示','请先选择基准日期!');
return;
}else {
$(re_ds_id).setQueryParameter('commission_month',baseDate);
$(re_ds_id).query();
}
};
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
\ No newline at end of file
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