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
0c1240a8
Commit
0c1240a8
authored
Feb 03, 2020
by
Darming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]增值税台账
parent
94517bd1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
111 additions
and
0 deletions
+111
-0
con_je_vat_rpt_g_before_result_queryfields.js
...ayoutconfig/con_je_vat_rpt_g_before_result_queryfields.js
+26
-0
con_je_vat_rpt_g_current_result_queryfields.js
...youtconfig/con_je_vat_rpt_g_current_result_queryfields.js
+26
-0
con_je_vat_rpt_g_sum_result_queryfields.js
...t/layoutconfig/con_je_vat_rpt_g_sum_result_queryfields.js
+34
-0
con_je_vat_query.lview
src/main/webapp/modules/rpt/RPT555/con_je_vat_query.lview
+25
-0
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/con_je_vat_rpt_g_before_result_queryfields.js
0 → 100644
View file @
0c1240a8
var
override_queryfields
=
[
{
name
:
'contract_number'
,
queryexpression
:
"t1.contract_number = ${@contract_number}"
},
{
name
:
'bp_name'
,
queryexpression
:
"t1.bp_name = ${@bp_name}"
},
{
name
:
'journal_date'
,
queryexpression
:
"t1.journal_date = ${@journal_date}"
},
{
name
:
'base_period'
,
queryexpression
:
"to_char(t1.journal_date,'yyyymm') < ${@base_period}"
}
];
var
add_datafilters
=
[{
name
:
'base_period'
,
expression
:
"t1.journal_date <= add_months(last_day(to_date(${@base_period},'yyyymm')),-1) and (t1.invoice_date is null or t1.invoice_date >= TRUNC(to_date(${@base_period},'yyyymm'),'dd'))"
}];
override
();
add_datafilter
();
\ No newline at end of file
src/main/webapp/WEB-INF/server-script/layoutconfig/con_je_vat_rpt_g_current_result_queryfields.js
0 → 100644
View file @
0c1240a8
var
override_queryfields
=
[
{
name
:
'contract_number'
,
queryexpression
:
"t1.contract_number = ${@contract_number}"
},
{
name
:
'bp_name'
,
queryexpression
:
"t1.bp_name = ${@bp_name}"
},
{
name
:
'journal_date'
,
queryexpression
:
"t1.journal_date = ${@journal_date}"
},
{
name
:
'base_period'
,
queryexpression
:
"to_char(t1.journal_date,'yyyymm') = ${@base_period}"
}
];
var
add_datafilters
=
[{
name
:
'base_period'
,
expression
:
" to_char(t1.journal_date,'yyyymm') = ${@base_period} and (t1.invoice_date is null or to_char(t1.invoice_date,'yyyymm') < ${@base_period})"
}];
override
();
add_datafilter
();
\ No newline at end of file
src/main/webapp/WEB-INF/server-script/layoutconfig/con_je_vat_rpt_g_sum_result_queryfields.js
0 → 100644
View file @
0c1240a8
var
override_queryfields
=
[
{
name
:
'invoice_kind'
,
queryexpression
:
"t1.invoice_kind = ${@invoice_kind}"
},
{
name
:
'contract_number'
,
queryexpression
:
"t1.contract_number = ${@contract_number}"
},
{
name
:
'bp_name'
,
queryexpression
:
"t1.bp_name = ${@bp_name}"
},
{
name
:
'journal_date'
,
queryexpression
:
"t1.je_date = ${@journal_date}"
},
{
name
:
'invoice_date'
,
queryexpression
:
"t1.invoice_date = ${@invoice_date}"
},
{
name
:
'base_period'
,
queryexpression
:
"to_char(t1.je_date,'yyyymm') <= ${@base_period}"
}
];
var
add_datafilters
=
[{
name
:
'base_period'
,
expression
:
"t1.invoice_date <= last_day(to_date(${@base_period},'yyyymm'))"
}];
override
();
add_datafilter
();
\ No newline at end of file
src/main/webapp/modules/rpt/RPT555/con_je_vat_query.lview
0 → 100644
View file @
0c1240a8
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: zhuxianfei
$Date: 2018-12-24 下午2:20:47
$Revision: 1.0
$Purpose:
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
>
<a:view>
<a:link
id=
"con_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
window['${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) {
var form_ds_id = '${/parameter/@layout_code}_F_QUERY__ds';
if(ds.id == form_ds_id){
record.set('base_period',new Date().format('yyyymm').toString());
record.set('base_period_n',new Date().format('yyyy-mm').toString());
}
};
]]>
</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