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
24ecceed
Commit
24ecceed
authored
Nov 09, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle_sherlock' into 'dev_oracle'
bug 19878 See merge request root/atms!182
parents
723e8ef1
b573730a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
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
+3
-1
No files found.
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
24ecceed
...
...
@@ -160,7 +160,7 @@
//销项数据源
case
enums
.
formulaDataSourceType
.
OutputInvoice
:
obj
.
period
=
sourceData
.
period
;
obj
.
date
=
sourceData
.
invoiceDate
?
(
new
Date
(
sourceData
.
invoiceDate
)).
dateTimeToString
(
'yyyyMMdd'
)
:
"
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 @
24ecceed
...
...
@@ -278,8 +278,10 @@
}
function
doStartCaculate2
(
isMergeManualDataSource
)
{
vatReportService
.
generateAll
(
vatSessionService
.
project
.
id
,
isMergeManualDataSource
,
vatSessionService
.
month
,
vatSessionService
.
logUser
.
id
?
vatSessionService
.
logUser
.
id
:
""
).
success
(
function
(
data
)
{
if
(
data
&&
data
.
result
)
$scope
.
readonly
=
true
;
if
(
data
&&
data
.
result
)
updateTasksStatus
(
data
.
data
);
if
(
data
.
data
.
status
==
'Begin'
){
$scope
.
timer
=
$interval
(
function
(){
...
...
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