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
7636543e
Commit
7636543e
authored
May 22, 2019
by
ken-y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix vat view bug ---Ken
parent
51feb218
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
13 deletions
+5
-13
DataPreviewSerivceImpl.java
...pwc/taxtech/atms/service/impl/DataPreviewSerivceImpl.java
+0
-5
adjustment_table.xlsx
...c/main/resources/vat_excel_template/adjustment_table.xlsx
+0
-0
balance_sheet_prc_manual.xlsx
...esources/vat_excel_template/balance_sheet_prc_manual.xlsx
+0
-0
profit_loss_statement_prc_manual.xlsx
.../vat_excel_template/profit_loss_statement_prc_manual.xlsx
+0
-0
vat-preview-adjustment-tab.ctrl.js
...preview-adjustment-tab/vat-preview-adjustment-tab.ctrl.js
+3
-2
vat-preview-off-balance-sheet-prc-manual.ctrl.js
...c-manual/vat-preview-off-balance-sheet-prc-manual.ctrl.js
+2
-3
vat-preview-off-balance-sheet-prc-manual.html
...-prc-manual/vat-preview-off-balance-sheet-prc-manual.html
+0
-1
vat-preview-profit-loss-prc-manual.ctrl.js
...oss-prc-manual/vat-preview-profit-loss-prc-manual.ctrl.js
+0
-1
vat-preview-profit-loss-prc-manual.html
...t-loss-prc-manual/vat-preview-profit-loss-prc-manual.html
+0
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataPreviewSerivceImpl.java
View file @
7636543e
...
...
@@ -385,11 +385,6 @@ public class DataPreviewSerivceImpl extends BaseService {
ProfitLossStatementCondition
condition
=
new
ProfitLossStatementCondition
();
beanUtil
.
copyProperties
(
param
,
condition
);
List
<
ProfitLossStatementPrc
>
profitLossStatements
=
profitLossStatementPrcManualMapper
.
selectByCondition1
(
condition
);
//List<ProfitLossStatementExportDto> exportDtos = Lists.newArrayList();
// profitLossStatements.forEach(id -> {
// ProfitLossStatementExportDto exportDto = beanUtil.copyProperties(id, new ProfitLossStatementExportDto());
// exportDtos.add(exportDto);
// });
ProfitLossHeader
header
=
new
ProfitLossHeader
();
if
(
profitLossStatements
.
size
()>
0
){
Organization
org
=
organizationMapper
.
selectByPrimaryKey
(
param
.
getOrgId
());
...
...
atms-api/src/main/resources/vat_excel_template/adjustment_table.xlsx
View file @
7636543e
No preview for this file type
atms-api/src/main/resources/vat_excel_template/balance_sheet_prc_manual.xlsx
View file @
7636543e
No preview for this file type
atms-api/src/main/resources/vat_excel_template/profit_loss_statement_prc_manual.xlsx
View file @
7636543e
No preview for this file type
atms-web/src/main/webapp/app/vat/preview/vat-preview-adjustment-tab/vat-preview-adjustment-tab.ctrl.js
View file @
7636543e
...
...
@@ -209,8 +209,8 @@
$scope
.
queryParams
.
periodStart
=
$scope
.
startMonth
;
//$scope.queryParams.periodEnd = $scope.endMonth;
$scope
.
queryParams
.
orgId
=
vatSessionService
.
project
.
organizationID
;
loadTrialBalanceDataFromDB
(
1
);
$
(
'.filter-button'
).
popover
(
"hide"
);
//
loadTrialBalanceDataFromDB(1);
//
$('.filter-button').popover("hide");
};
var
prepareSummary
=
function
()
{
...
...
@@ -251,6 +251,7 @@
}).
on
(
'changeDate'
,
function
(
e
)
{
// 开始月份
var
startMonth
=
vatSessionService
.
project
.
year
*
100
+
e
.
date
.
getMonth
()
+
1
;
$scope
.
startMonth
=
startMonth
;
$scope
.
queryParams
.
periodStart
=
startMonth
;
loadTrialBalanceDataFromDB
(
1
);
});
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-off-balance-sheet-prc-manual/vat-preview-off-balance-sheet-prc-manual.ctrl.js
View file @
7636543e
...
...
@@ -9,7 +9,7 @@
$scope
.
endMonth
=
vatSessionService
.
month
;
$scope
.
totalMoneyAmount
=
0
;
$scope
.
totalTaxAmount
=
0
;
$scope
.
pageSize
=
constant
.
vatPagesize
;
$scope
.
pageSize
=
constant
.
page
.
pageSizeArrary
[
3
]
;
$scope
.
selectedDate
=
new
Date
(
vatSessionService
.
year
,
vatSessionService
.
month
-
1
,
1
);
$scope
.
dateFormatMomth
=
$translate
.
instant
(
'dateFormat4YearMonth'
);
...
...
@@ -104,7 +104,6 @@
$scope
.
queryBalanceSheetResult
.
pageInfo
=
data
;
computeBalanceSheetPage
();
if
(
data
.
size
>
0
){
$scope
.
ledgerName
=
data
.
list
[
0
].
ledgerName
;
$scope
.
currencyCode
=
data
.
list
[
0
].
ledgerCurrencyCode
;
$scope
.
status
=
data
.
list
[
0
].
status
;
$scope
.
importDate
=
$filter
(
'date'
)(
data
.
list
[
0
].
date
,
"yyyy-MM-dd hh:mm:ss"
);
...
...
@@ -170,7 +169,7 @@
pageInfo
:
{
totalCount
:
-
1
,
pageIndex
:
1
,
pageSize
:
constant
.
page
size
,
pageSize
:
constant
.
page
.
pageSizeArrary
[
3
]
,
totalPage
:
0
,
}
}
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-off-balance-sheet-prc-manual/vat-preview-off-balance-sheet-prc-manual.html
View file @
7636543e
...
...
@@ -15,7 +15,6 @@
</div>
<div
style=
"margin-bottom: 8px;margin-left: 30px"
>
{{'EnterpriseAccountSetName' | translate}}
<span
class=
"numAmount"
>
{{ledgerName}}
</span>
{{'EnterpriseAccountSetCurrency' | translate}}
<span
class=
"numAmount"
>
{{currencyCode}}
</span>
{{'IsCloseAccount' | translate}}
<span
class=
"numAmount"
>
{{status}}
</span>
{{'ImportTime' | translate}}
<span
class=
"numAmount"
>
{{importDate| date:'yyyy-MM-dd hh:mm:ss'}}
</span>
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-profit-loss-prc-manual/vat-preview-profit-loss-prc-manual.ctrl.js
View file @
7636543e
...
...
@@ -103,7 +103,6 @@
$scope
.
queryProfitLossResult
.
pageInfo
=
data
;
computeProfitLossPage
();
if
(
data
.
size
>
0
){
$scope
.
ledgerName
=
data
.
list
[
0
].
ledgerName
;
$scope
.
currencyCode
=
data
.
list
[
0
].
ledgerCurrencyCode
;
$scope
.
status
=
data
.
list
[
0
].
status
;
$scope
.
importDate
=
$filter
(
'date'
)(
data
.
list
[
0
].
date
,
"yyyy-MM-dd hh:mm:ss"
);
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-profit-loss-prc-manual/vat-preview-profit-loss-prc-manual.html
View file @
7636543e
...
...
@@ -15,7 +15,6 @@
</div>
<div
style=
"margin-bottom: 8px;margin-left: 30px"
>
{{'EnterpriseAccountSetName' | translate}}
<span
class=
"numAmount"
>
{{ledgerName}}
</span>
{{'EnterpriseAccountSetCurrency' | translate}}
<span
class=
"numAmount"
>
{{currencyCode}}
</span>
{{'IsCloseAccount' | translate}}
<span
class=
"numAmount"
>
{{status}}
</span>
{{'ImportTime' | translate}}
<span
class=
"numAmount"
>
{{importDate| date:'yyyy-MM-dd hh:mm:ss'}}
</span>
...
...
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