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
3e9df0b2
Commit
3e9df0b2
authored
Apr 19, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_mysql' into dev_mysql
parents
b92be470
8aed3bca
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
9 deletions
+25
-9
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+3
-2
enterprise-account-manage.ctrl.js
...enterpriseAccountManage/enterprise-account-manage.ctrl.js
+0
-0
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+11
-2
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+1
-1
cit-report-layout.ctrl.js
...pp/cit/report/cit-report-layout/cit-report-layout.ctrl.js
+9
-0
vat-report-layout.ctrl.js
...pp/vat/report/vat-report-layout/vat-report-layout.ctrl.js
+1
-4
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
3e9df0b2
...
...
@@ -2070,16 +2070,17 @@ public class ReportServiceImpl extends BaseService {
PeriodDataSource
dataSourceModel
=
null
;
if
(
dataSourceExtendDtos
.
size
()
>
0
)
{
dataSourceModel
=
dataSourceExtendDtos
.
get
(
0
).
getDataSource
();
dataSourceModel
=
periodDataSourceMapper
.
selectByPrimaryKey
(
dataSourceModel
.
getId
());
if
(
StringUtils
.
isBlank
(
data
.
getKeyinData
()))
updateCellValueForDataSourceChange
(
dataSourceModel
,
data
.
getAmount
());
originalAmount
=
dataSourceModel
.
getAmount
()
!=
null
?
dataSourceModel
.
getAmount
()
:
new
BigDecimal
(
"0"
);
dataSourceModel
.
setName
(
data
.
getName
());
dataSourceModel
.
setDescription
(
data
.
getDescription
());
dataSourceModel
.
setAmount
(
data
.
getAmount
());
dataSourceModel
.
setAmount
(
data
.
getAmount
()
==
null
?
new
BigDecimal
(
0
):
data
.
getAmount
()
);
dataSourceModel
.
setUpdateBy
(
"Admin"
);
dataSourceModel
.
setKeyinData
(
data
.
getKeyinData
());
dataSourceModel
.
setUpdateTime
(
new
Date
());
periodDataSourceMapper
.
updateByPrimaryKey
Selective
(
dataSourceModel
);
periodDataSourceMapper
.
updateByPrimaryKey
(
dataSourceModel
);
}
else
{
dataSourceModel
=
new
PeriodDataSource
();
Long
cellDataSourceId
=
distributedIdService
.
nextId
();
...
...
atms-web/src/main/webapp/app/admin/basicData/financialData/enterpriseAccountManage/enterprise-account-manage.ctrl.js
View file @
3e9df0b2
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
3e9df0b2
infrastructureModule
.
controller
(
'OrganizationManageController'
,
[
'$scope'
,
'$log'
,
'orgService'
,
'$interval'
,
'uiGridTreeViewConstants'
,
'uiGridConstants'
,
'SweetAlert'
,
'projectService'
,
'$translate'
,
'$timeout'
,
'organizationStructureService'
,
'areaRegionService'
,
'apiInterceptor'
,
'enterpriseAccountService'
,
'businessUnitService'
,
'userService'
,
'roleService'
,
'$q'
,
'permissionService'
,
'dimensionService'
,
'region'
,
'equityService'
,
'orgExtraService'
,
function
(
$scope
,
$log
,
orgService
,
$interval
,
uiGridTreeViewConstants
,
uiGridConstants
,
SweetAlert
,
projectService
,
$translate
,
$timeout
,
organizationStructureService
,
areaRegionService
,
apiInterceptor
,
enterpriseAccountService
,
businessUnitService
,
userService
,
roleService
,
$q
,
permissionService
,
dimensionService
,
region
,
equityService
,
orgExtraService
)
{
.
controller
(
'OrganizationManageController'
,
[
'$scope'
,
'$lo
cation'
,
'$lo
g'
,
'orgService'
,
'$interval'
,
'uiGridTreeViewConstants'
,
'uiGridConstants'
,
'SweetAlert'
,
'projectService'
,
'$translate'
,
'$timeout'
,
'organizationStructureService'
,
'areaRegionService'
,
'apiInterceptor'
,
'enterpriseAccountService'
,
'businessUnitService'
,
'userService'
,
'roleService'
,
'$q'
,
'permissionService'
,
'dimensionService'
,
'region'
,
'equityService'
,
'orgExtraService'
,
function
(
$scope
,
$lo
cation
,
$lo
g
,
orgService
,
$interval
,
uiGridTreeViewConstants
,
uiGridConstants
,
SweetAlert
,
projectService
,
$translate
,
$timeout
,
organizationStructureService
,
areaRegionService
,
apiInterceptor
,
enterpriseAccountService
,
businessUnitService
,
userService
,
roleService
,
$q
,
permissionService
,
dimensionService
,
region
,
equityService
,
orgExtraService
)
{
'use strict'
;
$scope
.
expanded
=
false
;
...
...
@@ -2388,6 +2388,15 @@
});
};
// TODO 跳转到账套界面
$scope
.
jumpToAccount
=
function
(
enterpriseAccountSetID
)
{
// $location.path("/financialData/enterpriseAccountManage?enterpriseAccountSetID=" + enterpriseAccountSetID);
$location
.
path
(
"/financialData/enterpriseAccountManage"
).
search
({
jumpingEnterpriseAccountSetID
:
enterpriseAccountSetID
});
};
// 选中机构
$scope
.
selectOrganization
=
function
(
branch
)
{
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
3e9df0b2
...
...
@@ -1438,7 +1438,7 @@
<!-- 账套名称 -->
<span
class=
"block-span"
ng-show=
"!selectCompany.isUpdate"
>
{{set.enterpriseAccountSetName}}
</span>
ng-show=
"!selectCompany.isUpdate"
ng-click=
"jumpToAccount(set.enterpriseAccountSetID)"
>
{{set.enterpriseAccountSetName}}
</span>
<select
ng-show=
"selectCompany.isUpdate"
class=
"form-control account-set-select"
...
...
atms-web/src/main/webapp/app/cit/report/cit-report-layout/cit-report-layout.ctrl.js
View file @
3e9df0b2
...
...
@@ -202,6 +202,15 @@
$scope
.
hasTaxReturnPermission
=
data
[
reportTemp
.
taxReturnCode
];
$scope
.
hasQueryTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
queryCode
];
$scope
.
hasEditTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
editCode
];
// 将查看纳税申报表权限都赋上
$scope
.
hasBsPlPermission
=
true
;
$scope
.
hasBsPermission
=
true
;
$scope
.
hasPlPermission
=
true
;
$scope
.
hasTaxReturnPermission
=
true
;
$scope
.
hasQueryTaxReturnPermission
=
true
;
$scope
.
hasEditTaxReturnPermission
=
true
;
});
};
var
toggleGroup
=
function
(
group
)
{
...
...
atms-web/src/main/webapp/app/vat/report/vat-report-layout/vat-report-layout.ctrl.js
View file @
3e9df0b2
...
...
@@ -204,9 +204,7 @@
$scope
.
hasQueryTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
queryCode
];
$scope
.
hasEditTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
editCode
];
// TODO 临时代码,待删除
// 将查看纳税申报表权限都赋上
$scope
.
hasBsPlPermission
=
true
;
$scope
.
hasBsPermission
=
true
;
$scope
.
hasPlPermission
=
true
;
...
...
@@ -214,7 +212,6 @@
$scope
.
hasQueryTaxReturnPermission
=
true
;
$scope
.
hasEditTaxReturnPermission
=
true
;
});
};
var
toggleGroup
=
function
(
group
)
{
...
...
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