Commit 5241a337 authored by zhkwei's avatar zhkwei

1、机构管理-股权信息标签显示完全;2、固资导入支持手动修改年限

parent 164b07be
...@@ -480,7 +480,7 @@ public class AssetListServiceImpl extends BaseService { ...@@ -480,7 +480,7 @@ public class AssetListServiceImpl extends BaseService {
switch(enumCitAssetType){ switch(enumCitAssetType){
case FixedAssets: case FixedAssets:
//获取税务折旧期限 //获取税务折旧期限
citAsset.setTaxDepreciationPeriod(Math.max(citAsset.getDepreciationPeriod(),assetDetailGroup.getGroupYear()*12)); citAsset.setTaxDepreciationPeriod(Math.max(citAsset.getDepreciationPeriod(),assetGroupResult.getTaxDepreciationPeriod()));
//把购入日期放入到Calendar //把购入日期放入到Calendar
cal.setTime(citAsset.getBuyDate()); cal.setTime(citAsset.getBuyDate());
...@@ -524,7 +524,7 @@ public class AssetListServiceImpl extends BaseService { ...@@ -524,7 +524,7 @@ public class AssetListServiceImpl extends BaseService {
case InvisibleAssets: case InvisibleAssets:
//获取税务折旧期限 //获取税务折旧期限
citAsset.setTaxDepreciationPeriod(Math.max(citAsset.getDepreciationPeriod(),assetDetailGroup.getGroupYear()*12)); citAsset.setTaxDepreciationPeriod(Math.max(citAsset.getDepreciationPeriod(),assetGroupResult.getTaxDepreciationPeriod()));
//把购入日期放入到Calendar //把购入日期放入到Calendar
cal.setTime(citAsset.getBuyDate()); cal.setTime(citAsset.getBuyDate());
...@@ -569,6 +569,8 @@ public class AssetListServiceImpl extends BaseService { ...@@ -569,6 +569,8 @@ public class AssetListServiceImpl extends BaseService {
public ApiResultDto updateAssetResultList(List<CitAssetsList> assetsLists, String projectId){ public ApiResultDto updateAssetResultList(List<CitAssetsList> assetsLists, String projectId){
for(CitAssetsList citAsset:assetsLists){ for(CitAssetsList citAsset:assetsLists){
//获取税务每月折旧额,(原值-残值)/税法折旧期间
citAsset.setTaxMonthDepreciationAmount((citAsset.getAcquisitionValue().subtract(citAsset.getResidualRate())).divide(new BigDecimal(citAsset.getTaxDepreciationPeriod()), 2));
assetListMapper.updateByPrimaryKeySelective(citAsset); assetListMapper.updateByPrimaryKeySelective(citAsset);
} }
return null; return null;
......
...@@ -966,7 +966,7 @@ ...@@ -966,7 +966,7 @@
}); });
} }
assetListService.batchUpdateIsRetain($scope.displayType - 1, projectId, isRetain); assetListService.batchUpdateIsRetain($scope.displayType - 1, projectId, isRetain);
} };
//验证信息 //验证信息
$scope.openTab = function (errorType, rowdata) { $scope.openTab = function (errorType, rowdata) {
......
...@@ -67,17 +67,17 @@ ...@@ -67,17 +67,17 @@
} }
.control-label { .control-label {
padding-left: 12px; padding-left: 42px;
white-space: nowrap; white-space: nowrap;
} }
.dropdown-toggle .caret { .dropdown-toggle .caret {
width: 10px; width: 10px;
height: 10px; height: 10px;
border: none; //IE border: none; //IE
margin-top: -2px !important; margin-top: -2px !important;
} }
.dropdown-toggle .caret:before { .dropdown-toggle .caret:before {
//IE //IE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment