Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a37d6f30
authored
2025-03-31 11:02:17 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
fa94c746
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/data_transaction/valuationModelCreate.vue
src/views/data_transaction/valuationModelCreate.vue
View file @
a37d6f3
...
...
@@ -672,10 +672,10 @@ const incomeCalculateData = computed(() => { //响应式不生效
}
let
C10
=
transfer
(
data
[
9
][
year
.
field
]);
resultInfo
[
'折现因子'
].
push
(
changeNum
(
1
/
Math
.
pow
((
1
+
C10
),
parseFloat
(
resultInfo
[
'折现年期'
][
i
])),
2
,
true
));
resultInfo
[
'折现现值'
].
push
(
changeNum
(
parseFloat
(
resultInfo
[
'折现因子'
][
i
])
*
parseFloat
(
resultInfo
[
'现金流'
][
i
].
replace
(
/,/g
,
''
)),
2
,
true
));
resultInfo
[
'折现现值'
].
push
(
changeNum
(
parseFloat
(
resultInfo
[
'折现因子'
][
i
])
*
parseFloat
(
resultInfo
[
'现金流'
][
i
]
?
.
replace
(
/,/g
,
''
)),
2
,
true
));
})
resultInfo
[
'数据资产估值'
]
=
changeNum
(
resultInfo
[
'折现现值'
].
reduce
(
function
(
prev
,
curr
,
idx
,
arr
)
{
return
parseFloat
(
prev
.
replace
(
/,/g
,
''
))
+
parseFloat
(
curr
.
replace
(
/,/g
,
''
));
return
parseFloat
(
prev
?.
replace
(
/,/g
,
''
))
+
parseFloat
(
curr
?
.
replace
(
/,/g
,
''
));
}),
2
,
true
);
return
resultInfo
;
})
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment