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
08b75ec2
Commit
08b75ec2
authored
Apr 10, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金报表调整
parent
addf6abb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
get_current_date.lwm
...n/webapp/WEB-INF/classes/cont/CON780/get_current_date.lwm
+1
-0
con_commission_report.lview
...n/webapp/modules/cont/CON1380/con_commission_report.lview
+8
-3
No files found.
src/main/webapp/WEB-INF/classes/cont/CON780/get_current_date.lwm
View file @
08b75ec2
...
...
@@ -6,6 +6,7 @@
SELECT
to_char(sysdate,'yyyy') as year,
to_char(sysdate,'mm') as current_month,
to_char(add_months(sysdate,-1),'yyyy-mm') as last_month,
sysdate as current_period
FROM
dual
...
...
src/main/webapp/modules/cont/CON1380/con_commission_report.lview
View file @
08b75ec2
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
<a:model-query
fetchAll=
"true"
model=
"cont.CON780.get_current_date"
rootPath=
"default_date_path"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"con1380_query_id"
model=
"cont.CON1380.con1380_result_query_job"
modelaction=
"execute"
/>
<a:link
id=
"query_job"
model=
"cont.CON1380.con1380_result_query_job"
modelaction=
"update"
/>
...
...
@@ -7,9 +10,11 @@
$L.onReady(function(){
var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds');
var record = headers_ds.getCurrentRecord();
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_monthly_report_temp');
$(ds_id).setQueryParameter('commission_month',record.get('base_date'));
$(ds_id).query();
record.set('base_date','${/model/default_date_path/record/@last_month}');
record.set('base_date_n','${/model/default_date_path/record/@last_month}');
// var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_monthly_report_temp');
// $(ds_id).setQueryParameter('commission_month',record.get('base_date'));
// $(ds_id).query();
});
//更新全量数据
...
...
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