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
8760935f
Commit
8760935f
authored
Nov 09, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_oracle
parents
6b7e0730
24ecceed
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-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
+5
-1
vat-caculate-data.ctrl.js
...vat/reduction/vat-caculate-data/vat-caculate-data.ctrl.js
+2
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
8760935f
...
...
@@ -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 @
8760935f
...
...
@@ -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
;
...
...
@@ -1120,6 +1120,10 @@
if
(
report
&&
report
.
result
&&
report
.
data
)
{
$scope
.
reportId
=
report
.
data
.
id
;
getReportData
();
}
else
if
(
!
(
report
.
result
&&
report
.
data
)){
$scope
.
reportData
=
[];
$scope
.
formulaBlocks
=
[];
$scope
.
manualDataSources
=
[];
}
});
}
...
...
atms-web/src/main/webapp/app/vat/reduction/vat-caculate-data/vat-caculate-data.ctrl.js
View file @
8760935f
...
...
@@ -278,7 +278,9 @@
}
function
doStartCaculate2
(
isMergeManualDataSource
)
{
vatReportService
.
generateAll
(
vatSessionService
.
project
.
id
,
isMergeManualDataSource
,
vatSessionService
.
month
,
vatSessionService
.
logUser
.
id
?
vatSessionService
.
logUser
.
id
:
""
).
success
(
function
(
data
)
{
$scope
.
readonly
=
true
;
if
(
data
&&
data
.
result
)
updateTasksStatus
(
data
.
data
);
if
(
data
.
data
.
status
==
'Begin'
){
...
...
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