明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jt_front
Commits
7a1787a8
Commit
7a1787a8
authored
Apr 03, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cc86f528
Pipeline
#109242
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
InvestmentRecoveryTable.vue
src/components/InvestmentRecoveryTable.vue
+21
-0
No files found.
src/components/InvestmentRecoveryTable.vue
View file @
7a1787a8
...
@@ -830,16 +830,19 @@ const calculateTotalRow = () => {
...
@@ -830,16 +830,19 @@ const calculateTotalRow = () => {
// 年度表格合计
// 年度表格合计
let
totalDecision
=
0
;
let
totalDecision
=
0
;
let
totalActual
=
0
;
let
totalActual
=
0
;
let
totalJzss
=
0
;
tableDataRef
.
value
.
forEach
((
row
)
=>
{
tableDataRef
.
value
.
forEach
((
row
)
=>
{
if
(
!
row
.
isTotalRow
&&
!
row
.
noEdit
)
{
if
(
!
row
.
isTotalRow
&&
!
row
.
noEdit
)
{
totalDecision
+=
parseFloat
(
row
.
decisionReceivable
)
||
0
;
totalDecision
+=
parseFloat
(
row
.
decisionReceivable
)
||
0
;
totalActual
+=
parseFloat
(
row
.
actualReceived
)
||
0
;
totalActual
+=
parseFloat
(
row
.
actualReceived
)
||
0
;
totalJzss
+=
parseFloat
(
row
.
jzss
)
||
0
;
}
}
});
});
totalRow
.
decisionReceivable
=
totalDecision
;
totalRow
.
decisionReceivable
=
totalDecision
;
totalRow
.
actualReceived
=
totalActual
;
totalRow
.
actualReceived
=
totalActual
;
totalRow
.
jzss
=
totalJzss
;
totalRow
.
shortfall
=
totalDecision
-
totalActual
;
totalRow
.
shortfall
=
totalDecision
-
totalActual
;
if
(
totalDecision
>
0
)
{
if
(
totalDecision
>
0
)
{
totalRow
.
completionRate
=
(
totalActual
/
totalDecision
)
*
100
;
totalRow
.
completionRate
=
(
totalActual
/
totalDecision
)
*
100
;
...
@@ -943,6 +946,24 @@ const calculateTotalRow = () => {
...
@@ -943,6 +946,24 @@ const calculateTotalRow = () => {
const
yearlyJzss
=
getYearlyJzss
();
const
yearlyJzss
=
getYearlyJzss
();
totalRow
.
invoiceCompleted
=
yearTotalSum
+
yearlyJzss
;
totalRow
.
invoiceCompleted
=
yearTotalSum
+
yearlyJzss
;
// 计算合计行的欠收金额
let
shortfallAmountSum
=
0
;
tableDataRef
.
value
.
forEach
((
row
)
=>
{
if
(
!
row
.
isTotalRow
&&
!
row
.
noEdit
)
{
shortfallAmountSum
+=
parseFloat
(
row
.
shortfallAmount
)
||
0
;
}
});
totalRow
.
shortfallAmount
=
shortfallAmountSum
;
// 计算合计行的合同总金额
let
contractTotalAmountSum
=
0
;
tableDataRef
.
value
.
forEach
((
row
)
=>
{
if
(
!
row
.
isTotalRow
&&
!
row
.
noEdit
)
{
contractTotalAmountSum
+=
parseFloat
(
row
.
contractTotalAmount
)
||
0
;
}
});
totalRow
.
contractTotalAmount
=
contractTotalAmountSum
;
// 计算合计行的开累完成率
// 计算合计行的开累完成率
// 从年度更新数据中获取合计的决策应收和计划应收值
// 从年度更新数据中获取合计的决策应收和计划应收值
const
getYearlyDecisionReceivable
=
()
=>
{
const
getYearlyDecisionReceivable
=
()
=>
{
...
...
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