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
51201028
Commit
51201028
authored
Nov 12, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] fixed select period report mapper
parent
212f2aad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
PeriodReportMapper.java
...ain/java/pwc/taxtech/atms/vat/dao/PeriodReportMapper.java
+2
-2
vat-report-view.ctrl.js
...p/common/controls/vat-report-view/vat-report-view.ctrl.js
+2
-2
vat-report-view.html
.../app/common/controls/vat-report-view/vat-report-view.html
+1
-1
vatApproveService.js
...c/main/webapp/app/common/vatservices/vatApproveService.js
+2
-1
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/PeriodReportMapper.java
View file @
51201028
...
...
@@ -126,8 +126,8 @@ public interface PeriodReportMapper extends MyVatMapper {
" PERIOD_REPORT r "
+
" LEFT JOIN PERIOD_TEMPLATE pt ON r.TEMPLATE_ID = pt.TEMPLATE_ID "
+
"WHERE "
+
" r.PROJECT_ID =
'1'
"
+
" AND r.PERIOD =
10
"
+
" r.PROJECT_ID =
#{projectId}
"
+
" AND r.PERIOD =
#{period}
"
+
"ORDER BY "
+
" pt.ORDER_INDEX"
+
""
)
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
51201028
...
...
@@ -2566,13 +2566,13 @@
}
$scope
.
rejectApproval
=
function
(){
vatApproveService
.
checkTask
(
vatSessionService
.
approv
e
Info
.
instanceId
,
'disagreed'
,
$scope
.
comment
).
success
(
function
(){
vatApproveService
.
checkTask
(
vatSessionService
.
approv
al
Info
.
instanceId
,
'disagreed'
,
$scope
.
comment
).
success
(
function
(){
$
(
"#ApprovalComment"
).
modal
(
'hide'
);
});
}
$scope
.
agreeApproval
=
function
(){
vatApproveService
.
checkTask
(
vatSessionService
.
approv
e
Info
.
instanceId
,
'agreed'
,
$scope
.
comment
).
success
(
function
(){
vatApproveService
.
checkTask
(
vatSessionService
.
approv
al
Info
.
instanceId
,
'agreed'
,
$scope
.
comment
).
success
(
function
(){
$
(
"#ApprovalComment"
).
modal
(
'hide'
);
});
}
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.html
View file @
51201028
...
...
@@ -164,7 +164,7 @@
<table
class=
"table"
>
<caption>
审核意见
</caption>
<tr>
<td><textarea
rows=
"3"
class=
"form-control"
ng-model=
"
voucherComments"
>
{{approvalC
omment}}
</textarea>
<td><textarea
rows=
"3"
class=
"form-control"
ng-model=
"
comment"
>
{{c
omment}}
</textarea>
</td>
</tr>
<tr>
...
...
atms-web/src/main/webapp/app/common/vatservices/vatApproveService.js
View file @
51201028
...
...
@@ -22,7 +22,7 @@
},
checkTask
:
function
(
taskId
,
decide
,
comment
){
return
$http
.
put
(
'/approval/check/'
+
taskId
+
'?decide='
+
decide
+
'&comment='
+
comment
);
return
$http
.
put
(
'/approval/check/'
+
taskId
+
'?decide='
+
decide
+
'&comment='
+
comment
,
{},
apiConfig
.
createVat
()
);
}
};
}]);
\ No newline at end of file
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