Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
0c07c181
Commit
0c07c181
authored
Apr 08, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改汇率
parent
1aaf36a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/views/financialCenter/financialSalary.vue
+2
-4
No files found.
src/views/financialCenter/financialSalary.vue
View file @
0c07c181
...
...
@@ -214,7 +214,7 @@
</el-table-column>
<!--等生产没问题再删除 @blur="billInputBlur('exchangeRate', scope.row)"
@input="val => (scope.row.exchangeRate = amountInput.filterInput(val, 4))" -->
<el-table-column
label=
"汇率
(%)
"
prop=
"exchangeRate"
width=
"150"
>
<el-table-column
label=
"汇率"
prop=
"exchangeRate"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.exchangeRate"
...
...
@@ -483,9 +483,7 @@ const changeRate = async (row, type) => {
if
(
response
.
data
)
{
if
(
type
==
'toCurrency'
)
{
row
.
exchangeRate
=
response
.
data
.
exchangeRate
?
(
response
.
data
.
exchangeRate
*
100
).
toFixed
(
4
)
:
''
row
.
exchangeRate
=
response
.
data
.
exchangeRate
?
response
.
data
.
exchangeRate
.
toFixed
(
4
)
:
''
}
if
(
response
.
data
.
convertedAmount
>
0
)
{
row
.
toAmount
=
Number
(
response
.
data
.
convertedAmount
).
toFixed
(
4
)
...
...
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