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
3e9bb5ee
Commit
3e9bb5ee
authored
Apr 19, 2019
by
Cheng C Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 23331
parent
3230b2bb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
16 deletions
+48
-16
enterprise-account-manage.ctrl.js
...enterpriseAccountManage/enterprise-account-manage.ctrl.js
+26
-9
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-web/src/main/webapp/app/admin/basicData/financialData/enterpriseAccountManage/enterprise-account-manage.ctrl.js
View file @
3e9bb5ee
basicDataModule
.
controller
(
'EnterpriseAccountManageController'
,
[
'$scope'
,
'$log'
,
'SweetAlert'
,
'keywordmapService'
,
'uiGridConstants'
,
'$translate'
,
'enterpriseAccountService'
,
'Upload'
,
'apiInterceptor'
,
'templateFormulaService'
,
'stdAccountService'
,
'$interval'
,
'$timeout'
,
'$q'
,
'region'
,
function
(
$scope
,
$log
,
SweetAlert
,
keywordmapService
,
uiGridConstants
,
$translate
,
enterpriseAccountService
,
Upload
,
apiInterceptor
,
templateFormulaService
,
stdAccountService
,
$interval
,
$timeout
,
$q
,
region
)
{
.
controller
(
'EnterpriseAccountManageController'
,
[
'$scope'
,
'$lo
cation'
,
'$lo
g'
,
'SweetAlert'
,
'keywordmapService'
,
'uiGridConstants'
,
'$translate'
,
'enterpriseAccountService'
,
'Upload'
,
'apiInterceptor'
,
'templateFormulaService'
,
'stdAccountService'
,
'$interval'
,
'$timeout'
,
'$q'
,
'region'
,
function
(
$scope
,
$lo
cation
,
$lo
g
,
SweetAlert
,
keywordmapService
,
uiGridConstants
,
$translate
,
enterpriseAccountService
,
Upload
,
apiInterceptor
,
templateFormulaService
,
stdAccountService
,
$interval
,
$timeout
,
$q
,
region
)
{
'use strict'
;
...
...
@@ -270,7 +270,6 @@
};
$scope
.
changeEnterpriseAccountSet
=
function
()
{
if
(
!
$scope
.
enterpriseAccountSetSelectID
)
{
return
;
...
...
@@ -283,6 +282,15 @@
loadEnterpriseAccountSet
();
};
var
jumpToAccount
=
function
()
{
// TODO
if
(
$scope
.
jumpingEnterpriseAccountSetID
){
$scope
.
enterpriseAccountSetSelectID
=
$scope
.
jumpingEnterpriseAccountSetID
;
$scope
.
changeEnterpriseAccountSet
();
}
};
var
loadEnterpriseAccountSet
=
function
()
{
enterpriseAccountService
.
getEnterpriseAccountSet
(
$scope
.
enterpriseAccountSetSelectID
).
success
(
function
(
data
)
{
...
...
@@ -453,7 +461,8 @@
var
template
=
$translate
.
instant
(
data
.
resultMsg
);
SweetAlert
.
warning
(
template
);
return
;
};
}
;
$scope
.
lastCode
=
$scope
.
editModel
.
code
;
...
...
@@ -469,7 +478,8 @@
SweetAlert
.
warning
(
template
);
return
;
};
}
;
$scope
.
lastCode
=
$scope
.
editModel
.
code
;
SweetAlert
.
success
(
$translate
.
instant
(
'SaveSuccess'
));
...
...
@@ -1374,7 +1384,8 @@
$scope
.
deleteEnterpriseAccountSetOrg
=
function
(
x
)
{
if
(
x
)
{
$scope
.
editModel
.
enterpriseAccountSetOrgList
.
splice
(
jQuery
.
inArray
(
x
,
$scope
.
editModel
.
enterpriseAccountSetOrgList
),
1
);
};
}
;
};
var
getEnterpriseAccountSetOrgListUI
=
function
()
{
...
...
@@ -1414,7 +1425,8 @@
}
enterpriseAccountSetOrgList
.
push
(
item
);
};
}
;
}
$scope
.
editModel
.
saveOrgList
=
enterpriseAccountSetOrgList
;
...
...
@@ -1737,10 +1749,10 @@
},
{
id
:
-
1
,
name
:
$translate
.
instant
(
'StandardAccountCredit'
)
},
];
},];
$scope
.
acctPropList
=
[
{
id
:
-
1
,
name
:
''
},
{
id
:
-
1
,
name
:
''
},
{
id
:
1
,
name
:
$translate
.
instant
(
'StandardAccountAcctPropAsset'
)
...
...
@@ -1872,6 +1884,11 @@
$scope
.
isLoadComplete
=
true
;
},
500
);
$timeout
(
function
()
{
jumpToAccount
();
},
600
);
};
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
3e9bb5ee
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 @
3e9bb5ee
...
...
@@ -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 @
3e9bb5ee
...
...
@@ -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 @
3e9bb5ee
...
...
@@ -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