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
5241a337
Commit
5241a337
authored
Apr 24, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、机构管理-股权信息标签显示完全;2、固资导入支持手动修改年限
parent
164b07be
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+4
-2
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
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
5241a337
...
...
@@ -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/cit/import/cit-import-asset-list/cit-import-asset-list.ctrl.js
View file @
5241a337
...
...
@@ -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 @
5241a337
...
...
@@ -67,7 +67,7 @@
}
.control-label {
padding-left:
1
2px;
padding-left:
4
2px;
white-space: nowrap;
}
...
...
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