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
478680d1
Commit
478680d1
authored
Apr 12, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
885a43f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
22 deletions
+15
-22
tax-document-list.ctrl.js
...ocumentManage/tax-document-list/tax-document-list.ctrl.js
+15
-22
No files found.
atms-web/src/main/webapp/app/taxDocumentManage/tax-document-list/tax-document-list.ctrl.js
View file @
478680d1
...
...
@@ -1940,6 +1940,20 @@ taxDocumentManageModule.directive('tempModule', function () {
$scope
.
fileAttrEnableOptions
=
[];
$scope
.
curFileTypeOptions
=
[];
$scope
.
companyNameOptionsMap
=
[];
$scope
.
loadCompanyNameMap
=
function
(){
taxDocumentListService
.
getCompanyNameOptions
().
then
(
function
(
res
)
{
if
(
res
&&
0
===
res
.
code
)
{
angular
.
forEach
(
res
.
data
,
function
(
item
)
{
$scope
.
companyNameOptionsMap
.
push
({
'key'
:
item
.
abbreviation
,
'val'
:
item
.
id
});
// $scope.companyNameOptionsMap[item.id] = item.abbreviation;
});
}
else
{
SweetAlert
.
error
(
$translate
.
instant
(
'RevenueGetOrgError'
));
}
});
}
$scope
.
loadSelectMap
=
function
()
{
taxDocumentListService
.
getFileInfoOptions
().
then
(
function
(
data
)
{
// console.log(data);
...
...
@@ -1978,17 +1992,6 @@ taxDocumentManageModule.directive('tempModule', function () {
}
});
taxDocumentListService
.
getCompanyNameOptions
().
then
(
function
(
res
)
{
if
(
res
&&
0
===
res
.
code
)
{
angular
.
forEach
(
res
.
data
,
function
(
item
)
{
$scope
.
companyNameOptionsMap
.
push
({
'key'
:
item
.
abbreviation
,
'val'
:
item
.
id
});
// $scope.companyNameOptionsMap[item.id] = item.abbreviation;
});
}
else
{
SweetAlert
.
error
(
$translate
.
instant
(
'RevenueGetOrgError'
));
}
});
};
//加载可用的档案属性
$scope
.
loadSelectEnableMap
=
function
()
{
...
...
@@ -2029,20 +2032,10 @@ taxDocumentManageModule.directive('tempModule', function () {
}
});
taxDocumentListService
.
getCompanyNameOptions
().
then
(
function
(
res
)
{
if
(
res
&&
0
===
res
.
code
)
{
angular
.
forEach
(
res
.
data
,
function
(
item
)
{
$scope
.
companyNameOptionsMap
.
push
({
'key'
:
item
.
abbreviation
,
'val'
:
item
.
id
});
// $scope.companyNameOptionsMap[item.id] = item.abbreviation;
});
}
else
{
SweetAlert
.
error
(
$translate
.
instant
(
'RevenueGetOrgError'
));
}
});
};
$scope
.
loadSelectMap
();
$scope
.
loadSelectEnableMap
();
$scope
.
loadCompanyNameMap
();
$scope
.
businessLineOptions
=
[];
$scope
.
loadBusinessList
=
function
()
{
taxDocumentListService
.
getBusinessList
().
then
(
function
(
resData
)
{
...
...
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