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
809571b0
Commit
809571b0
authored
Apr 24, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
ad1e5c42
62ae1c98
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+4
-2
nav.css
atms-web/src/main/webapp/app-resources/css/nav.css
+1
-1
cit-import-asset-list.ctrl.js
...mport/cit-import-asset-list/cit-import-asset-list.ctrl.js
+1
-1
edit-equity-modal.less
.../common/controls/edit-equity-modal/edit-equity-modal.less
+6
-6
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
809571b0
...
...
@@ -480,7 +480,7 @@ public class AssetListServiceImpl extends BaseService {
switch
(
enumCitAssetType
){
case
FixedAssets:
//获取税务折旧期限
citAsset
.
setTaxDepreciationPeriod
(
Math
.
max
(
citAsset
.
getDepreciationPeriod
(),
asset
DetailGroup
.
getGroupYear
()*
12
));
citAsset
.
setTaxDepreciationPeriod
(
Math
.
max
(
citAsset
.
getDepreciationPeriod
(),
asset
GroupResult
.
getTaxDepreciationPeriod
()
));
//把购入日期放入到Calendar
cal
.
setTime
(
citAsset
.
getBuyDate
());
...
...
@@ -524,7 +524,7 @@ public class AssetListServiceImpl extends BaseService {
case
InvisibleAssets:
//获取税务折旧期限
citAsset
.
setTaxDepreciationPeriod
(
Math
.
max
(
citAsset
.
getDepreciationPeriod
(),
asset
DetailGroup
.
getGroupYear
()*
12
));
citAsset
.
setTaxDepreciationPeriod
(
Math
.
max
(
citAsset
.
getDepreciationPeriod
(),
asset
GroupResult
.
getTaxDepreciationPeriod
()
));
//把购入日期放入到Calendar
cal
.
setTime
(
citAsset
.
getBuyDate
());
...
...
@@ -569,6 +569,8 @@ public class AssetListServiceImpl extends BaseService {
public
ApiResultDto
updateAssetResultList
(
List
<
CitAssetsList
>
assetsLists
,
String
projectId
){
for
(
CitAssetsList
citAsset:
assetsLists
){
//获取税务每月折旧额,(原值-残值)/税法折旧期间
citAsset
.
setTaxMonthDepreciationAmount
((
citAsset
.
getAcquisitionValue
().
subtract
(
citAsset
.
getResidualRate
())).
divide
(
new
BigDecimal
(
citAsset
.
getTaxDepreciationPeriod
()),
2
));
assetListMapper
.
updateByPrimaryKeySelective
(
citAsset
);
}
return
null
;
...
...
atms-web/src/main/webapp/app-resources/css/nav.css
View file @
809571b0
...
...
@@ -48,7 +48,7 @@
float
:
left
;
height
:
55px
;
line-height
:
55px
;
width
:
1
55
px
;
width
:
1
80
px
;
text-align
:
center
;
}
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.ctrl.js
View file @
809571b0
...
...
@@ -966,7 +966,7 @@
});
}
assetListService
.
batchUpdateIsRetain
(
$scope
.
displayType
-
1
,
projectId
,
isRetain
);
}
}
;
//验证信息
$scope
.
openTab
=
function
(
errorType
,
rowdata
)
{
...
...
atms-web/src/main/webapp/app/common/controls/edit-equity-modal/edit-equity-modal.less
View file @
809571b0
...
...
@@ -67,17 +67,17 @@
}
.control-label {
padding-left:
1
2px;
padding-left:
4
2px;
white-space: nowrap;
}
.dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none; //IE
margin-top: -2px !important;
}
width: 10px;
height: 10px;
border: none; //IE
margin-top: -2px !important;
}
.dropdown-toggle .caret:before {
//IE
...
...
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