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
88d15195
Commit
88d15195
authored
Mar 21, 2019
by
chase
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
b2b88c09
2ebc9c91
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
202 additions
and
155 deletions
+202
-155
CitAssetsListDto.java
.../src/main/java/pwc/taxtech/atms/dto/CitAssetsListDto.java
+36
-0
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+10
-0
CitAssetsListMapper.java
...c/main/java/pwc/taxtech/atms/dao/CitAssetsListMapper.java
+4
-0
CitAssetSumDataDto.java
...rc/main/java/pwc/taxtech/atms/dpo/CitAssetSumDataDto.java
+45
-0
CitAssetsListExtendsMapper.xml
...c/taxtech/atms/dao/extends/CitAssetsListExtendsMapper.xml
+13
-0
cit-layout.ctrl.js
...web/src/main/webapp/app/cit/cit-layout/cit-layout.ctrl.js
+22
-21
cit-import-asset-list-search.html
...t/cit-import-asset-list/cit-import-asset-list-search.html
+11
-95
cit-import-asset-list.ctrl.js
...mport/cit-import-asset-list/cit-import-asset-list.ctrl.js
+20
-13
cit-import-layout.ctrl.js
...pp/cit/import/cit-import-layout/cit-import-layout.ctrl.js
+4
-4
cit-calculate-data.ctrl.js
...t/reduction/cit-calculate-data/cit-calculate-data.ctrl.js
+1
-1
edit-templategroup-modal.ctrl.js
...edit-templategroup-modal/edit-templategroup-modal.ctrl.js
+18
-3
constant.js
atms-web/src/main/webapp/app/common/utils/constant.js
+16
-16
app-overview.html
.../main/webapp/app/framework/app-overview/app-overview.html
+2
-2
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dto/CitAssetsListDto.java
View file @
88d15195
...
...
@@ -457,6 +457,11 @@ public class CitAssetsListDto implements Serializable {
*/
private
BigDecimal
disposalTaxBenefit
;
BigDecimal
totalAccountAcquisitionValue
;
BigDecimal
totalAccountYearDepreciationAmount
;
BigDecimal
totalTaxCurrentYearDepreciationAmount
;
BigDecimal
totalYearDifferenceAmount
;
public
BigDecimal
getDisposalProfitAndLoss
()
{
return
disposalProfitAndLoss
;
}
...
...
@@ -1393,5 +1398,35 @@ public class CitAssetsListDto implements Serializable {
this
.
compensationSaleAmount
=
compensationSaleAmount
;
}
public
BigDecimal
getTotalAccountAcquisitionValue
()
{
return
totalAccountAcquisitionValue
;
}
public
void
setTotalAccountAcquisitionValue
(
BigDecimal
totalAccountAcquisitionValue
)
{
this
.
totalAccountAcquisitionValue
=
totalAccountAcquisitionValue
;
}
public
BigDecimal
getTotalAccountYearDepreciationAmount
()
{
return
totalAccountYearDepreciationAmount
;
}
public
void
setTotalAccountYearDepreciationAmount
(
BigDecimal
totalAccountYearDepreciationAmount
)
{
this
.
totalAccountYearDepreciationAmount
=
totalAccountYearDepreciationAmount
;
}
public
BigDecimal
getTotalTaxCurrentYearDepreciationAmount
()
{
return
totalTaxCurrentYearDepreciationAmount
;
}
public
void
setTotalTaxCurrentYearDepreciationAmount
(
BigDecimal
totalTaxCurrentYearDepreciationAmount
)
{
this
.
totalTaxCurrentYearDepreciationAmount
=
totalTaxCurrentYearDepreciationAmount
;
}
public
BigDecimal
getTotalYearDifferenceAmount
()
{
return
totalYearDifferenceAmount
;
}
public
void
setTotalYearDifferenceAmount
(
BigDecimal
totalYearDifferenceAmount
)
{
this
.
totalYearDifferenceAmount
=
totalYearDifferenceAmount
;
}
}
\ No newline at end of file
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
88d15195
...
...
@@ -18,6 +18,7 @@ import pwc.taxtech.atms.dao.AssetDetailGroupMapper;
import
pwc.taxtech.atms.dao.AssetGroupMapper
;
import
pwc.taxtech.atms.dao.CitAssetGroupResultMapper
;
import
pwc.taxtech.atms.dao.CitAssetsListMapper
;
import
pwc.taxtech.atms.dpo.CitAssetSumDataDto
;
import
pwc.taxtech.atms.dto.*
;
import
pwc.taxtech.atms.entity.*
;
import
pwc.taxtech.atms.vat.entity.AssetsList
;
...
...
@@ -101,10 +102,15 @@ public class AssetListServiceImpl extends BaseService {
}
Page
page
=
PageHelper
.
startPage
(
citAssetsListDto
.
getPageInfo
().
getPageIndex
(),
citAssetsListDto
.
getPageInfo
().
getPageSize
());
List
<
CitAssetsList
>
citAssetsLists
=
assetListMapper
.
selectByExample
(
assetListExample
);
CitAssetSumDataDto
sumData
=
assetListMapper
.
getSumData
(
citAssetsListDto
.
getProjectId
());
List
<
CitAssetsListDto
>
citAssetsListDtos
=
new
ArrayList
<>();
for
(
CitAssetsList
citAssetsList:
citAssetsLists
){
CitAssetsListDto
temp
=
new
CitAssetsListDto
();
BeanUtils
.
copyProperties
(
citAssetsList
,
temp
);
temp
.
setTotalYearDifferenceAmount
(
sumData
.
getTotalYearDifferenceAmount
());
temp
.
setTotalAccountYearDepreciationAmount
(
sumData
.
getTotalAccountYearDepreciationAmount
());
temp
.
setTotalTaxCurrentYearDepreciationAmount
(
sumData
.
getTotalTaxCurrentYearDepreciationAmount
());
temp
.
setTotalAccountAcquisitionValue
(
sumData
.
getTotalAccountAcquisitionValue
());
citAssetsListDtos
.
add
(
temp
);
}
...
...
@@ -114,6 +120,10 @@ public class AssetListServiceImpl extends BaseService {
return
pageInfo
;
}
public
void
getSumData
(){
}
public
List
<
CitAssetGroupResultDto
>
getAssetGroupResultData
(
String
projectId
)
throws
Exception
{
logger
.
debug
(
"根据projectId获取该资产类别相关数据"
);
CitAssetGroupResultExample
assetGroupResultExample
=
new
CitAssetGroupResultExample
();
...
...
atms-dao/src/main/java/pwc/taxtech/atms/dao/CitAssetsListMapper.java
View file @
88d15195
...
...
@@ -7,6 +7,7 @@ import org.apache.ibatis.session.RowBounds;
import
pwc.taxtech.atms.MyMapper
;
import
pwc.taxtech.atms.dpo.CitAssetDetailResultDto
;
import
pwc.taxtech.atms.dpo.CitAssetEamMappingDto
;
import
pwc.taxtech.atms.dpo.CitAssetSumDataDto
;
import
pwc.taxtech.atms.entity.CitAssetsList
;
import
pwc.taxtech.atms.entity.CitAssetsListExample
;
...
...
@@ -120,4 +121,6 @@ public interface CitAssetsListMapper extends MyMapper {
List
<
CitAssetDetailResultDto
>
getCitAssetDetialResult
(
@Param
(
"assetType"
)
Integer
assetType
,
@Param
(
"assetDetailType"
)
Integer
assetDetailType
);
CitAssetSumDataDto
getSumData
(
@Param
(
"projectId"
)
String
projectId
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/dpo/CitAssetSumDataDto.java
0 → 100644
View file @
88d15195
package
pwc
.
taxtech
.
atms
.
dpo
;
import
pwc.taxtech.atms.entity.AssetDetailGroup
;
import
pwc.taxtech.atms.entity.CitAssetsList
;
import
java.math.BigDecimal
;
public
class
CitAssetSumDataDto
{
BigDecimal
totalAccountAcquisitionValue
;
BigDecimal
totalAccountYearDepreciationAmount
;
BigDecimal
totalTaxCurrentYearDepreciationAmount
;
BigDecimal
totalYearDifferenceAmount
;
public
BigDecimal
getTotalAccountAcquisitionValue
()
{
return
totalAccountAcquisitionValue
;
}
public
void
setTotalAccountAcquisitionValue
(
BigDecimal
totalAccountAcquisitionValue
)
{
this
.
totalAccountAcquisitionValue
=
totalAccountAcquisitionValue
;
}
public
BigDecimal
getTotalAccountYearDepreciationAmount
()
{
return
totalAccountYearDepreciationAmount
;
}
public
void
setTotalAccountYearDepreciationAmount
(
BigDecimal
totalAccountYearDepreciationAmount
)
{
this
.
totalAccountYearDepreciationAmount
=
totalAccountYearDepreciationAmount
;
}
public
BigDecimal
getTotalTaxCurrentYearDepreciationAmount
()
{
return
totalTaxCurrentYearDepreciationAmount
;
}
public
void
setTotalTaxCurrentYearDepreciationAmount
(
BigDecimal
totalTaxCurrentYearDepreciationAmount
)
{
this
.
totalTaxCurrentYearDepreciationAmount
=
totalTaxCurrentYearDepreciationAmount
;
}
public
BigDecimal
getTotalYearDifferenceAmount
()
{
return
totalYearDifferenceAmount
;
}
public
void
setTotalYearDifferenceAmount
(
BigDecimal
totalYearDifferenceAmount
)
{
this
.
totalYearDifferenceAmount
=
totalYearDifferenceAmount
;
}
}
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/CitAssetsListExtendsMapper.xml
View file @
88d15195
...
...
@@ -277,6 +277,7 @@
</association>
</resultMap>
<select
id=
"getCitAssetDetialResult"
resultMap=
"citAssetDetailResultDto"
>
SELECT
assets_list.id AS id,
...
...
@@ -335,5 +336,16 @@
AND asset_detail_group.asset_group_type = #{assetType,jdbcType=INTEGER}
AND asset_detail_group.detail_group_type = #{assetDetailType,jdbcType=INTEGER}
</select>
<select
id=
"getSumData"
resultType=
"pwc.taxtech.atms.dpo.CitAssetSumDataDto"
>
select
sum(account_acquisition_value) as totalAccountAcquisitionValue,
sum(account_year_depreciation_amount) as totalAccountYearDepreciationAmount,
sum(tax_current_year_depreciation_amount) as totalTaxCurrentYearDepreciationAmount,
sum(if(is_retain=1, year_difference_amount,0)) as totalYearDifferenceAmount
from assets_list
where status = 1
and project_id = #{projectId,jdbcType=VARCHAR}
</select>
</mapper>
\ No newline at end of file
atms-web/src/main/webapp/app/cit/cit-layout/cit-layout.ctrl.js
View file @
88d15195
...
...
@@ -340,26 +340,26 @@ function ($scope, $rootScope, $location, $q, $log, $timeout, $state, $translate,
});
}
if
(
data
[
constant
.
citPermission
.
dataAnalysis
.
modelAnalysisCode
])
{
$scope
.
menus
.
push
({
name
:
'analyzeReport'
,
state
:
'analyzeLayout'
,
num
:
5
,
permission
:
constant
.
citPermission
.
dataAnalysis
.
dataAnalysisCode
,
url
:
'#/cit/citAnalyzeLayout'
});
subMenus
.
push
({
name
:
'analyzeLayout.analyzeReport'
,
state
:
'analyzeLayout.analyzeReport'
,
num
:
5
,
permission
:
constant
.
citPermission
.
dataAnalysis
.
modelAnalysisCode
,
url
:
'#/cit/citAnalyzeLayout/citAnalyzeReport'
});
}
else
if
(
data
[
constant
.
citPermission
.
dataAnalysis
.
dashboard
.
dashboardCode
])
{
$scope
.
menus
.
push
({
name
:
'analyzeReport'
,
state
:
'analyzeLayout'
,
num
:
5
,
permission
:
constant
.
citPermission
.
dataAnalysis
.
dataAnalysisCode
,
url
:
'#/cit/citAnalyzeLayout'
});
subMenus
.
push
({
name
:
'analyzeLayout.analyzeOrganizeDashboard'
,
state
:
'analyzeLayout.analyzeOrganizeDashboard'
,
num
:
5
,
permission
:
constant
.
citPermission
.
dataAnalysis
.
dashboard
.
dashboardCode
,
url
:
'#/cit/citAnalyzeLayout/citOrganizeDashboard'
});
}
//
if (data[constant.citPermission.dataAnalysis.modelAnalysisCode]) {
//
$scope.menus.push({
//
name: 'analyzeReport', state: 'analyzeLayout', num: 5,
//
permission: constant.citPermission.dataAnalysis.dataAnalysisCode, url: '#/cit/citAnalyzeLayout'
//
});
//
subMenus.push({
//
name: 'analyzeLayout.analyzeReport', state: 'analyzeLayout.analyzeReport', num: 5,
//
permission: constant.citPermission.dataAnalysis.modelAnalysisCode, url: '#/cit/citAnalyzeLayout/citAnalyzeReport'
//
});
//
}
//
else if (data[constant.citPermission.dataAnalysis.dashboard.dashboardCode]) {
//
$scope.menus.push({
//
name: 'analyzeReport', state: 'analyzeLayout', num: 5,
//
permission: constant.citPermission.dataAnalysis.dataAnalysisCode, url: '#/cit/citAnalyzeLayout'
//
});
//
subMenus.push({
//
name: 'analyzeLayout.analyzeOrganizeDashboard', state: 'analyzeLayout.analyzeOrganizeDashboard', num: 5,
//
permission: constant.citPermission.dataAnalysis.dashboard.dashboardCode, url: '#/cit/citAnalyzeLayout/citOrganizeDashboard'
//
});
// }
}
});
...
...
@@ -562,7 +562,8 @@ function ($scope, $rootScope, $location, $q, $log, $timeout, $state, $translate,
}
$rootScope
.
$on
(
'$stateChangeStart'
,
function
(
event
,
toState
,
toParams
,
fromState
,
fromParams
,
options
)
{
var
mainMenu
=
[
'cit.importData'
,
'cit.previewData'
,
'cit.reductionData'
,
'cit.citAnalyzeLayout'
];
// var mainMenu = ['cit.importData', 'cit.previewData', 'cit.reductionData', 'cit.citAnalyzeLayout'];
var
mainMenu
=
[
'cit.importData'
,
'cit.previewData'
,
'cit.reductionData'
];
if
(
citSessionService
.
dataChanged
)
{
event
.
preventDefault
();
SweetAlert
.
swal
(
msgboxOptions
,
function
(
isConfirm
)
{
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list-search.html
View file @
88d15195
...
...
@@ -12,110 +12,26 @@
</div>
</div>
</td>
</tr>
<tr>
<td><span
translate=
"AccountCode"
></span></td>
<td>
<div
class=
"input-group"
>
<input
class=
"form-control "
type=
"text"
id=
"accountCode"
placeholder=
""
ng-model=
"filterData.accountCode"
>
<a
class=
"input-group-addon btn btn-sm"
ng-click=
"popTheParentCode()"
><i
class=
"fa fa-columns"
aria-hidden=
"true"
></i></a>
</div>
</td>
</tr>
<tr>
<td><span
translate=
"AccountName"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"accountName"
placeholder=
""
ng-model=
"filterData.accountName"
></td>
</tr>
<tr>
<td><span
translate=
"DebitOpeningBalance"
></span></td>
<td>
<div>
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right;"
type=
"text"
id=
"debitOpeningBalanceFrom"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.debitOpeningBalanceFrom"
>
-
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"debitOpeningBalanceTo"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.debitOpeningBalanceTo"
>
</div>
</td>
<td><span
translate=
"AssetGroupName"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"assetGroupName"
placeholder=
""
ng-model=
"filterData.assetGroupName"
></td>
</tr>
<tr>
<td><span
translate=
"
CreditOpeningBalance
"
></span></td>
<td><span
translate=
"
DepreciationPeriod
"
></span></td>
<td>
<div>
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"creditOpeningBalanceFrom"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.creditOpeningBalanceFrom"
>
-
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"creditOpeningBalanceTo"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.creditOpeningBalanceTo"
>
</div>
</td>
</tr>
<tr>
<td><span
translate=
"AccumulatedDebitAmount"
></span></td>
<td>
<div>
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"accumulatedDebitAmountFrom"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.accumulatedDebitAmountFrom"
>
-
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"accumulatedDebitAmountTo"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.accumulatedDebitAmountTo"
>
</div>
</td>
</tr>
<tr>
<td><span
translate=
"AccumulatedCreditAmount"
></span></td>
<td>
<div>
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"accumulatedCreditAmountFrom"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.accumulatedCreditAmountFrom"
>
-
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"accumulatedCreditAmountTo"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.accumulatedCreditAmountTo"
>
</div>
</td>
</tr>
<tr>
<td><span
translate=
"DebitClosingBalance"
></span></td>
<td>
<div>
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"debitClosingBalanceFrom"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.debitClosingBalanceFrom"
>
-
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"debitClosingBalanceTo"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.debitClosingBalanceTo"
>
<div
class=
"input-group"
>
<input
class=
"form-control "
type=
"text"
id=
"depreciationPeriod"
placeholder=
""
ng-model=
"filterData.depreciationPeriod"
>
</div>
</td>
</tr>
<tr>
<td><span
translate=
"CreditClosingBalance"
></span></td>
<td>
<div>
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right;"
type=
"text"
id=
"creditClosingBalanceFrom"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.creditClosingBalanceFrom"
>
-
<input
class=
"form-control input-width-small"
style=
"width: 115px; text-align: right; "
type=
"text"
id=
"creditClosingBalanceTo"
ng-keyup=
"PWC.inputNumberFormat(this);"
placeholder=
""
ng-model=
"filterData.creditClosingBalanceTo"
>
</div>
</td>
<td><span
translate=
"TaxGroupType"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"taxGroupType"
placeholder=
""
ng-model=
"filterData.taxGroupType"
></td>
</tr>
</table>
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.ctrl.js
View file @
88d15195
...
...
@@ -266,22 +266,27 @@
var
data
=
assetListData
.
data
.
list
;
if
(
data
)
{
var
index
=
1
;
data
.
forEach
(
function
(
v
)
{
v
.
index
=
index
++
;
$scope
.
TotalAccountAcquisitionValue
+=
v
.
accountAcquisitionValue
;
$scope
.
TotalAccountYearDepreciationAmount
+=
v
.
accountYearDepreciationAmount
;
$scope
.
TotalTaxCurrentYearDepreciationAmount
+=
v
.
taxCurrentYearDepreciationAmount
;
if
(
v
.
isRetain
==
1
){
$scope
.
TotalYearDifferenceAmount
+=
v
.
yearDifferenceAmount
;
}
});
//
data.forEach(function (v) {
//
v.index = index++;
//
$scope.TotalAccountAcquisitionValue += v.accountAcquisitionValue;
//
$scope.TotalAccountYearDepreciationAmount += v.accountYearDepreciationAmount;
//
$scope.TotalTaxCurrentYearDepreciationAmount += v.taxCurrentYearDepreciationAmount;
//
if(v.isRetain == 1){
//
$scope.TotalYearDifferenceAmount += v.yearDifferenceAmount;
//
}
//
});
$scope
.
assetsResultData
=
data
;
// $scope.TotalCount = data.length;
$scope
.
TotalAccountAcquisitionValue
=
PWC
.
round
(
$scope
.
TotalAccountAcquisitionValue
,
2
);
$scope
.
TotalAccountYearDepreciationAmount
=
PWC
.
round
(
$scope
.
TotalAccountYearDepreciationAmount
,
2
);
$scope
.
TotalTaxCurrentYearDepreciationAmount
=
PWC
.
round
(
$scope
.
TotalTaxCurrentYearDepreciationAmount
,
2
);
$scope
.
TotalYearDifferenceAmount
=
PWC
.
round
(
$scope
.
TotalYearDifferenceAmount
,
2
);
// $scope.TotalAccountAcquisitionValue = PWC.round($scope.TotalAccountAcquisitionValue, 2);
// $scope.TotalAccountYearDepreciationAmount = PWC.round($scope.TotalAccountYearDepreciationAmount, 2);
// $scope.TotalTaxCurrentYearDepreciationAmount = PWC.round($scope.TotalTaxCurrentYearDepreciationAmount, 2);
// $scope.TotalYearDifferenceAmount = PWC.round($scope.TotalYearDifferenceAmount, 2);
$scope
.
TotalAccountAcquisitionValue
=
PWC
.
round
(
data
[
0
].
totalAccountAcquisitionValue
,
2
);
$scope
.
TotalAccountYearDepreciationAmount
=
PWC
.
round
(
data
[
0
].
totalAccountYearDepreciationAmount
,
2
);
$scope
.
TotalTaxCurrentYearDepreciationAmount
=
PWC
.
round
(
data
[
0
].
totalTaxCurrentYearDepreciationAmount
,
2
);
$scope
.
TotalYearDifferenceAmount
=
PWC
.
round
(
data
[
0
].
totalYearDifferenceAmount
,
2
);
}
$scope
.
totalItemsTemp
=
assetListData
.
data
.
total
;
$scope
.
pagingOptions
.
totalItems
=
assetListData
.
data
.
total
;
});
}
...
...
@@ -974,6 +979,7 @@
//开始
(
function
initialize
()
{
$scope
.
totalItemsTemp
=
0
;
//分页的设置
debugger
;
$scope
.
pagingOptions
=
{
...
...
@@ -1004,6 +1010,7 @@
getGroupList
();
getGroupDetailList
();
getUserPermission
();
$scope
.
pagingOptions
.
totalItems
=
$scope
.
totalItemsTemp
;
// $scope.$watch('fileNameWrapper', function (newValue, oldValue) {
// if (newValue != null && newValue !== oldValue) {
// //设置上传文件名
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-layout/cit-import-layout.ctrl.js
View file @
88d15195
...
...
@@ -78,10 +78,10 @@ function ($scope, $q, $log, $translate, $location, loginContext, enums, vatSessi
name
:
'caculateData'
,
permission
:
constant
.
citPermission
.
dataManage
.
caculateDataCode
,
text
:
$translate
.
instant
(
'caculateData'
),
icon
:
'fa fa-random'
},
{
name
:
'accountMapping'
,
permission
:
constant
.
citPermission
.
dataManage
.
accountMappingCode
,
text
:
$translate
.
instant
(
'accountMapping'
),
icon
:
'fa fa-map'
},
//
{
//
name: 'accountMapping', permission: constant.citPermission.dataManage.accountMappingCode,
//
text: $translate.instant('accountMapping'), icon: 'fa fa-map'
//
},
{
name
:
'assetEamMapping'
,
permission
:
constant
.
citPermission
.
dataManage
.
assetEamMapping
,
text
:
$translate
.
instant
(
'AssetEamMapping'
),
icon
:
'fa fa-map'
...
...
atms-web/src/main/webapp/app/cit/reduction/cit-calculate-data/cit-calculate-data.ctrl.js
View file @
88d15195
...
...
@@ -597,7 +597,7 @@ debugger;
if
(
$scope
.
timer
){
$interval
.
cancel
(
$scope
.
timer
);
vatCommonService
.
setProjectStatus
(
vatSessionService
.
project
.
id
,
vatSessionService
.
month
,
constant
.
ProjectStatusEnum
.
Generated
vatCommonService
.
setProjectStatus
(
vatSessionService
.
project
.
id
,
-
1
,
constant
.
ProjectStatusEnum
.
Generated
,
constant
.
DictionaryDictKey
.
WFDataProcess
,
enums
.
FinishStatusEnum
.
Finished
);
}
}
else
if
(
job
.
jobStatus
==
'Running'
||
job
.
jobStatus
==
'Error'
){
...
...
atms-web/src/main/webapp/app/common/controls/edit-templategroup-modal/edit-templategroup-modal.ctrl.js
View file @
88d15195
...
...
@@ -59,6 +59,7 @@ controller('editTemplategroupModalController', ['$scope', '$log', '$translate',
// 获取sheet列表
getSheetList
:
function
()
{
debugger
;
if
(
!
$scope
.
editModel
||
!
$scope
.
editModel
.
file
)
{
return
;
}
...
...
@@ -544,12 +545,26 @@ controller('editTemplategroupModalController', ['$scope', '$log', '$translate',
// 修改报表名称
$scope
.
saveUpdateTemplateGroupName
=
function
()
{
debugger
;
$scope
.
validateName
();
if
(
$scope
.
editModel
.
nameError
)
{
return
;
}
templateGroupService
.
addTemplateGroupWithoutTemplate
(
$scope
.
editModel
).
success
(
function
(
ret
)
{
//此处报错(Converting circular structure to JSON),因时间关系采取快捷方案
var
addTemplateGroupModel
=
{
groupType
:
$scope
.
editModel
.
groupType
,
industryIds
:
$scope
.
editModel
.
industryIDs
,
name
:
$scope
.
editModel
.
name
,
nameError
:
$scope
.
editModel
.
nameError
,
reportType
:
$scope
.
editModel
.
reportType
,
serviceTypeId
:
$scope
.
editModel
.
serviceTypeID
,
title
:
$scope
.
editModel
.
title
};
templateGroupService
.
addTemplateGroupWithoutTemplate
(
addTemplateGroupModel
).
success
(
function
(
ret
)
{
debugger
;
if
(
ret
.
result
)
{
// 添加成功
modalInstance
.
close
(
$scope
.
editModel
);
...
...
@@ -607,7 +622,7 @@ controller('editTemplategroupModalController', ['$scope', '$log', '$translate',
// 修改TemplateGroupName
var
updateTemplateName
=
function
(
model
)
{
debugger
;
$scope
.
validateName
();
if
(
$scope
.
editModel
.
nameError
)
{
return
;
...
...
@@ -635,7 +650,7 @@ controller('editTemplategroupModalController', ['$scope', '$log', '$translate',
// 修改报表名称
$scope
.
saveUpdateTemplateGroupName
=
function
()
{
// thisDataService.saveFindAdd(modalInstance)
debugger
;
var
model
=
{
id
:
$scope
.
editModel
.
id
,
name
:
$scope
.
editModel
.
name
,
...
...
atms-web/src/main/webapp/app/common/utils/constant.js
View file @
88d15195
...
...
@@ -695,19 +695,19 @@ constant.citPermission = {
reviewCode
:
'03.004.005.004'
,
},
},
dataAnalysis
:
{
dataAnalysisCode
:
'03.005'
,
modelAnalysisCode
:
'03.005.001'
,
modelAnalysis
:
{
queryCode
:
'03.005.001.001'
,
filterCode
:
'03.005.001.005'
},
dashboard
:
{
dashboardCode
:
'03.005.002'
,
querySummaryDashboardCode
:
'03.005.002.001'
,
singleOrgIndexDashboardCode
:
'03.005.002.002'
,
}
},
//
dataAnalysis: {
//
dataAnalysisCode: '03.005',
//
modelAnalysisCode: '03.005.001',
//
modelAnalysis: {
//
queryCode: '03.005.001.001',
//
filterCode: '03.005.001.005'
//
},
//
dashboard: {
//
dashboardCode: '03.005.002',
//
querySummaryDashboardCode: '03.005.002.001',
//
singleOrgIndexDashboardCode: '03.005.002.002',
//
}
// },
};
// 权限代码
...
...
@@ -929,7 +929,7 @@ constant.citMenuList = [
constant
.
citPermission
.
dataPreview
.
assetsList
.
queryCode
,
constant
.
citPermission
.
dataPreview
.
salaryAdvance
.
queryCode
,
constant
.
citPermission
.
dataPreview
.
eamDisposal
.
queryCode
,
constant
.
citPermission
.
dataManage
.
accountMappingCode
,
//
constant.citPermission.dataManage.accountMappingCode,
constant
.
citPermission
.
dataManage
.
caculateDataCode
,
constant
.
citPermission
.
reportView
.
bsplCode
,
...
...
@@ -937,8 +937,8 @@ constant.citMenuList = [
constant
.
citPermission
.
reportView
.
workingPaperTypeCode
,
constant
.
citPermission
.
reportView
.
taxReturnCode
,
constant
.
citPermission
.
reportView
.
otherReportCode
,
constant
.
citPermission
.
dataAnalysis
.
modelAnalysisCode
,
constant
.
citPermission
.
dataAnalysis
.
dashboard
.
dashboardCode
,
//
constant.citPermission.dataAnalysis.modelAnalysisCode,
//
constant.citPermission.dataAnalysis.dashboard.dashboardCode,
];
constant
.
basicDataUrl
=
{
...
...
atms-web/src/main/webapp/app/framework/app-overview/app-overview.html
View file @
88d15195
...
...
@@ -205,9 +205,9 @@
<
img
src
=
"{{result.finalStatus}}"
/>
<
/div
>
<
div
class
=
"body-name"
>
<
div
class
=
"org-name"
><
span
>
{{
'TaxBurdenRatio'
|
translate
}}:
<
/span><span>{{result.taxRate}}%</
span
><
/div
>
<
!--<
div
class
=
"org-name"
><
span
>
{{
'TaxBurdenRatio'
|
translate
}}:
<
/span><span>{{result.taxRate}}%</
span
><
/div>--
>
<!--<
div
class
=
"org-name"
ng
-
show
=
"serviceTypeId ==='6'"
><
span
>
预缴额
:
<
/span><span>{{result.prepadidTaxAmount | number}}元</
span
><
/div>--
>
<
div
class
=
"org-name"
><
span
>
{{
'TaxPayment'
|
translate
}}:
<
/span><span>{{result.taxAmount | number}}{{'Yuan' | translate}}</
span
><
/div
>
<
!--<
div
class
=
"org-name"
><
span
>
{{
'TaxPayment'
|
translate
}}:
<
/span><span>{{result.taxAmount | number}}{{'Yuan' | translate}}</
span
><
/div>--
>
<
div
class
=
"org-name"
><
span
>
{{
'ProjectPeriod'
|
translate
}}:
<
/span><span> {{result.periodDate}}</
span
><
/div
>
<
/div
>
...
...
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