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
2c8306d9
Commit
2c8306d9
authored
Mar 28, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CIT固定资产bug修改
parent
93bb3af0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
10 deletions
+47
-10
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+9
-0
cit-import-asset-list-search.html
...t/cit-import-asset-list/cit-import-asset-list-search.html
+6
-8
cit-import-asset-list.ctrl.js
...mport/cit-import-asset-list/cit-import-asset-list.ctrl.js
+31
-1
cit-import-asset-list.less
...t/import/cit-import-asset-list/cit-import-asset-list.less
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
2c8306d9
...
@@ -100,6 +100,15 @@ public class AssetListServiceImpl extends BaseService {
...
@@ -100,6 +100,15 @@ public class AssetListServiceImpl extends BaseService {
if
(
citAssetsListDto
.
getTaxAccountCompare
()
!=
2
){
if
(
citAssetsListDto
.
getTaxAccountCompare
()
!=
2
){
criteria
.
andTaxAccountCompareEqualTo
(
citAssetsListDto
.
getTaxAccountCompare
());
criteria
.
andTaxAccountCompareEqualTo
(
citAssetsListDto
.
getTaxAccountCompare
());
}
}
if
(
citAssetsListDto
.
getAssetGroupName
()
!=
null
){
criteria
.
andAssetGroupNameLike
(
citAssetsListDto
.
getAssetGroupName
()+
"%"
);
}
if
(
citAssetsListDto
.
getDepreciationPeriod
()
!=
null
){
criteria
.
andDepreciationPeriodEqualTo
(
citAssetsListDto
.
getDepreciationPeriod
());
}
if
(
citAssetsListDto
.
getTaxGroupName
()
!=
null
){
criteria
.
andTaxGroupNameLike
(
citAssetsListDto
.
getTaxGroupName
()+
"%"
);
}
Page
page
=
PageHelper
.
startPage
(
citAssetsListDto
.
getPageInfo
().
getPageIndex
(),
citAssetsListDto
.
getPageInfo
().
getPageSize
());
Page
page
=
PageHelper
.
startPage
(
citAssetsListDto
.
getPageInfo
().
getPageIndex
(),
citAssetsListDto
.
getPageInfo
().
getPageSize
());
List
<
CitAssetsList
>
citAssetsLists
=
assetListMapper
.
selectByExample
(
assetListExample
);
List
<
CitAssetsList
>
citAssetsLists
=
assetListMapper
.
selectByExample
(
assetListExample
);
CitAssetSumDataDto
sumData
=
assetListMapper
.
getSumData
(
citAssetsListDto
.
getProjectId
());
CitAssetSumDataDto
sumData
=
assetListMapper
.
getSumData
(
citAssetsListDto
.
getProjectId
());
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list-search.html
View file @
2c8306d9
...
@@ -3,12 +3,12 @@
...
@@ -3,12 +3,12 @@
<div>
<div>
<table
class=
" table table-responsive"
>
<table
class=
" table table-responsive"
>
<tr>
<tr>
<td><span
translate=
"TaxAccountDifference"
></span></td>
<td
style=
"vertical-align: middle"
><span
translate=
"TaxAccountDifference"
></span></td>
<td>
<td>
<!--税会差异的选择-->
<!--税会差异的选择-->
<div
class=
"input-group"
>
<div
class=
"input-group"
style=
"width: 100%"
>
<div
class=
"option"
>
<div
class=
"option"
>
<div
id=
"taxAccountDifferenceButton"
dx-select-box=
"taxAccountDifferenceOptions"
></div>
<div
id=
"taxAccountDifferenceButton"
dx-select-box=
"taxAccountDifferenceOptions"
style=
"width: 100%"
></div>
</div>
</div>
</div>
</div>
</td>
</td>
...
@@ -16,22 +16,20 @@
...
@@ -16,22 +16,20 @@
<tr>
<tr>
<td><span
translate=
"AssetGroupName"
></span></td>
<td><span
translate=
"AssetGroupName"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"assetGroupName"
placeholder=
""
<td><input
class=
"form-control "
type=
"text"
id=
"assetGroupName"
placeholder=
""
ng-model=
"
filterData
.assetGroupName"
></td>
ng-model=
"
citAssetsListDto
.assetGroupName"
></td>
</tr>
</tr>
<tr>
<tr>
<td><span
translate=
"DepreciationPeriod"
></span></td>
<td><span
translate=
"DepreciationPeriod"
></span></td>
<td>
<td>
<div
class=
"input-group"
>
<input
class=
"form-control "
type=
"text"
id=
"depreciationPeriod"
placeholder=
""
<input
class=
"form-control "
type=
"text"
id=
"depreciationPeriod"
placeholder=
""
ng-model=
"filterData.depreciationPeriod"
>
ng-model=
"citAssetsListDto.depreciationPeriod"
>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td><span
translate=
"TaxGroupType"
></span></td>
<td><span
translate=
"TaxGroupType"
></span></td>
<td><input
class=
"form-control "
type=
"text"
id=
"taxGroupType"
placeholder=
""
<td><input
class=
"form-control "
type=
"text"
id=
"taxGroupType"
placeholder=
""
ng-model=
"
filterData
.taxGroupType"
></td>
ng-model=
"
citAssetsListDto
.taxGroupType"
></td>
</tr>
</tr>
</table>
</table>
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.ctrl.js
View file @
2c8306d9
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
},
},
assetType
:
1
,
assetType
:
1
,
projectId
:
projectId
,
projectId
:
projectId
,
taxAccountCompare
:
2
taxAccountCompare
:
2
,
assetGroupName
:
''
,
depreciationPeriod
:
''
,
taxGroupType
:
''
};
};
$scope
.
refreshAssetResultListGrid
=
function
()
{
$scope
.
refreshAssetResultListGrid
=
function
()
{
debugger
;
debugger
;
...
@@ -976,6 +979,31 @@
...
@@ -976,6 +979,31 @@
});
});
};
};
var
initParamFilter
=
function
(){
$scope
.
citAssetsListDto
.
taxAccountCompare
=
2
;
$scope
.
citAssetsListDto
.
assetGroupName
=
2
;
$scope
.
citAssetsListDto
.
depreciationPeriod
=
2
;
$scope
.
citAssetsListDto
.
taxGroupType
=
2
;
};
var
doDataFilter
=
function
()
{
debugger
;
// initParamFilter();
getAssetResultList
(
$scope
.
citAssetsListDto
.
assetType
);
}
var
doDataFilterReset
=
function
()
{
debugger
;
// initParamFilter();
$scope
.
citAssetsListDto
.
taxAccountCompare
=
2
;
$scope
.
citAssetsListDto
.
assetGroupName
=
null
;
$scope
.
citAssetsListDto
.
depreciationPeriod
=
null
;
$scope
.
citAssetsListDto
.
taxGroupType
=
null
;
getAssetResultList
(
$scope
.
citAssetsListDto
.
assetType
);
};
//开始
//开始
(
function
initialize
()
{
(
function
initialize
()
{
//分页的设置
//分页的设置
...
@@ -994,6 +1022,8 @@
...
@@ -994,6 +1022,8 @@
$scope
.
incomeInvoiceTotalColumns
=
[];
$scope
.
incomeInvoiceTotalColumns
=
[];
$scope
.
initIncomeInvoiceTotalColumnsIndex
=
[];
$scope
.
initIncomeInvoiceTotalColumnsIndex
=
[];
$scope
.
changeSheet
=
changeSheet
;
$scope
.
changeSheet
=
changeSheet
;
$scope
.
doDataFilter
=
doDataFilter
;
$scope
.
doDataFilterReset
=
doDataFilterReset
;
debugger
;
debugger
;
function
init
(){
function
init
(){
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.less
View file @
2c8306d9
...
@@ -415,7 +415,7 @@
...
@@ -415,7 +415,7 @@
min-width: 370px;
min-width: 370px;
.arrow {
.arrow {
left: 0px;
left: 0px
!important
;
}
}
}
}
...
...
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