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
be5e822f
Commit
be5e822f
authored
Oct 31, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle_sherlock' into 'dev_oracle'
Dev oracle sherlock See merge request root/atms!164
parents
70012bb6
615e097c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
8 deletions
+48
-8
conf_profile_dev.properties
atms-api/src/main/resources/conf/conf_profile_dev.properties
+6
-0
edit-organization-modal.ctrl.js
...s/edit-organization-modal/edit-organization-modal.ctrl.js
+5
-2
vat-report-layout.ctrl.js
...pp/vat/report/vat-report-layout/vat-report-layout.ctrl.js
+37
-6
No files found.
atms-api/src/main/resources/conf/conf_profile_dev.properties
View file @
be5e822f
...
...
@@ -4,6 +4,12 @@ jdbc_password=taxadmin2018
#jdbc_password=111111
jdbc_admin_db
=
tax_admin
#jdbc_url=jdbc:oracle:thin:@10.158.230.144:11521:XE
#jdbc_user=tax_admin_longi
#jdbc_password=tax_admin_longi
##jdbc_password=111111
#jdbc_admin_db=tax_admin_longi
jdbc2_url
=
jdbc:oracle:thin:@10.158.230.144:11521:XE
jdbc2_user
=
pwc_invoice
jdbc2_password
=
pwc_invoice
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.ctrl.js
View file @
be5e822f
...
...
@@ -155,9 +155,12 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
}
//事业部
if
(
$scope
.
selectBusinessUnit
)
{
editModel
.
businessUnitID
=
$scope
.
selectBusinessUnit
.
id
;
editModel
.
businessUnitID
=
$scope
.
selectBusinessUnit
.
ID
;
}
//区域
if
(
$scope
.
selectedArea
)
{
editModel
.
areaID
=
$scope
.
selectedArea
.
ID
;
}
//账套
if
(
$scope
.
orgAccountList
)
{
...
...
atms-web/src/main/webapp/app/vat/report/vat-report-layout/vat-report-layout.ctrl.js
View file @
be5e822f
...
...
@@ -41,27 +41,58 @@
}
if
(
$scope
.
hasTaxReturnPermission
&&
$scope
.
hasQueryTaxReturnPermission
)
{
// var templates = _.chain
// 获取 申报表 Report Template
var
taxRtnGrp
=
{
name
:
'TaxReturn'
,
children
:
_
.
map
(
result
[
1
].
data
.
data
,
function
(
x
)
{
//if (x.templateID === $scope.selectedTemplateId) {
// $state.go('vat.generateReport.reportView', { id: x.id, templateid: x.templateID, name: x.templateName });
//}
children
:
_
.
chain
(
result
[
1
].
data
.
data
)
.
sortBy
(
function
(
x
){
return
x
.
templateName
;
})
.
map
(
function
(
x
){
var
nameIndex
;
var
tempName
=
x
.
templateName
.
substr
(
x
.
templateName
.
length
-
4
);
if
(
tempName
.
search
(
"一"
)
!=
-
1
){
nameIndex
=
0
;
}
else
if
(
tempName
.
search
(
"二"
)
!=
-
1
){
nameIndex
=
1
;
}
else
if
(
tempName
.
search
(
"三"
)
!=
-
1
){
nameIndex
=
2
;
}
else
if
(
tempName
.
search
(
"四"
)
!=
-
1
){
nameIndex
=
3
;
}
else
if
(
tempName
.
search
(
"五"
)
!=
-
1
){
nameIndex
=
4
;
}
else
{
nameIndex
=
10
;
}
return
{
id
:
x
.
id
,
templateId
:
x
.
templateId
,
templateName
:
x
.
templateName
,
templateCode
:
x
.
templateCode
,
nameIndex
:
nameIndex
}
})
.
sortBy
(
function
(
x
){
return
x
.
nameIndex
;
})
.
map
(
function
(
x
)
{
return
{
reportId
:
x
.
id
,
id
:
x
.
templateId
,
name
:
x
.
templateName
,
code
:
x
.
templateCode
};
}),
})
.
value
()
,
orderIndex
:
grps
.
length
};
grps
.
push
(
taxRtnGrp
);
}
$scope
.
groups
=
_
.
chain
(
grps
).
sortBy
(
function
(
x
)
{
return
x
.
orderIndex
return
x
.
orderIndex
;
// return x.children.name;
}).
map
(
function
(
x
)
{
x
.
isExpand
=
true
;
return
x
;
...
...
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