Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
723e8ef1
Commit
723e8ef1
authored
Nov 09, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle_sherlock' into 'dev_oracle'
cell data source See merge request root/atms!181
parents
5fb70b65
921d1810
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+5
-1
vat-report-view.ctrl.js
...p/common/controls/vat-report-view/vat-report-view.ctrl.js
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
723e8ef1
...
...
@@ -706,6 +706,8 @@ public class ReportServiceImpl {
private
Integer
convertType
(
Integer
dataSourceType
)
{
if
(
dataSourceType
.
equals
(
FormulaDataSourceDetailType
.
InputInvoiceDataSourceDto
.
getCode
()))
{
return
CellDataSourceType
.
InputInvoice
.
getCode
();
}
else
if
(
dataSourceType
.
equals
(
FormulaDataSourceDetailType
.
OutputInvoiceDataSourceDto
.
getCode
())){
return
CellDataSourceType
.
OutputInvoice
.
getCode
();
}
else
{
return
CellDataSourceType
.
Formula
.
getCode
();
}
...
...
@@ -714,7 +716,9 @@ public class ReportServiceImpl {
private
Integer
convetToFType
(
Integer
cellDataSourceType
)
{
if
(
cellDataSourceType
.
equals
(
CellDataSourceType
.
InputInvoice
.
getCode
()))
{
return
FormulaDataSourceType
.
InputInvoice
.
getCode
();
}
else
{
}
if
(
cellDataSourceType
.
equals
(
CellDataSourceType
.
OutputInvoice
.
getCode
())){
return
FormulaDataSourceType
.
OutputInvoice
.
getCode
();
}
else
{
return
FormulaDataSourceType
.
Other
.
getCode
();
}
}
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
723e8ef1
...
...
@@ -160,7 +160,7 @@
//销项数据源
case
enums
.
formulaDataSourceType
.
OutputInvoice
:
obj
.
period
=
sourceData
.
period
;
obj
.
date
=
sourceData
.
invoiceDate
?
sourceData
.
invoiceDate
.
substring
(
0
,
10
)
:
''
;
obj
.
date
=
sourceData
.
invoiceDate
?
(
new
Date
(
sourceData
.
invoiceDate
)).
dateTimeToString
(
'yyyyMMdd'
)
:
"
obj.acquiringEnterprise = sourceData.buyerName;
obj.invoiceCode = sourceData.invoiceCode;
obj.invoiceNumber = sourceData.invoiceNumber;
...
...
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