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
0ec2c4fa
Commit
0ec2c4fa
authored
Jan 19, 2020
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【feat】lfrs9报表的开发
parent
f882bc9c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
1 deletion
+68
-1
contract_ifrs9_g_contract_result_queryfields.js
...outconfig/contract_ifrs9_g_contract_result_queryfields.js
+13
-0
contract_sales_report.lview
...n/webapp/modules/cont/CON3400/contract_sales_report.lview
+1
-1
contract_ifrs9_report.lview
...n/webapp/modules/cont/CON3500/contract_ifrs9_report.lview
+32
-0
contract_ifrs9_report_query.lview
...pp/modules/cont/CON3500/contract_ifrs9_report_query.lview
+22
-0
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/contract_ifrs9_g_contract_result_queryfields.js
0 → 100644
View file @
0ec2c4fa
// var override_queryfields = [
// {
// name : 'period_name',
// queryexpression : "t1.period_name =${@period_name}"
// }]
var
add_datafilters
=
[
{
name
:
'period_name'
,
expression
:
't1.period_name=${@period_name}'
}
];
add_datafilter
();
// override();
\ No newline at end of file
src/main/webapp/modules/cont/CON3400/contract_sales_report.lview
View file @
0ec2c4fa
...
...
@@ -22,7 +22,7 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) {
console.log(ds.id)
var lnds = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_CONTRACT_
AGEN
T', 'hls_journal_detail');
var lnds = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_CONTRACT_
RESUL
T', 'hls_journal_detail');
if(lnds==ds.id){
...
...
src/main/webapp/modules/cont/CON3500/contract_ifrs9_report.lview
0 → 100644
View file @
0ec2c4fa
<?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:view>
<a:link
id=
"contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"con_contract_ifrs9_link"
url=
"${/request/@context_path}/modules/cont/CON3500/contract_ifrs9_report_query.lview"
/>
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
var ds_id = get_dsid_by_tabcode_basetable(
window['${/parameter/@layout_code}_layoutDataSetList'],
'F_QUERY',
'con_contract'
);
var param={};
var period_name=$(ds_id).getAt(0).get('period_name');
param['period_name']=period_name;
param['function_code'] = 'CON3400N';
param['function_usage'] = 'MODIFY';
param['url_title'] = 'IFRS9';
hls_doc_get_layout_code('contract_get_layout_code_link_id', param, 'con_contract_ifrs9_link',ds_id);
}
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
src/main/webapp/modules/cont/CON3500/contract_ifrs9_report_query.lview
0 → 100644
View file @
0ec2c4fa
<?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:view>
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
console.log('${/parameter/@period_name}');
Leaf.onReady(function(){
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
$(ds_id).setQueryParameter("period_name",'${/parameter/@period_name}');
$(ds_id).query();
})
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</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