Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
e262bc03
Commit
e262bc03
authored
Mar 27, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单收款账号设置的基准汇率与应收单基准汇率修改未联动bug修复
parent
5d5df9a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+14
-0
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+1
-1
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
e262bc03
...
...
@@ -1145,10 +1145,19 @@ export default {
this
.
list
.
forEach
((
item
)
=>
{
if
(
item
.
currencyId
==
row
.
currencyId
)
{
item
.
exchangeRate
=
row
.
writeOffRate
item
.
sourceCurrencyCode
=
row
.
sourceCurrencyCode
item
.
sourceAmount
=
row
.
sourceAmount
item
.
targetCurrencyCode
=
row
.
targetCurrencyCode
item
.
targetAmount
=
row
.
targetAmount
item
.
baseAmount
=
NP
.
round
(
NP
.
divide
(
NP
.
times
(
row
.
targetAmount
||
0
,
item
.
actualAmount
),
row
.
sourceAmount
||
1
),
2
)
}
}
)
// this.list[index].exchangeRate = row.writeOffRate
// this.list[index].sourceCurrencyCode = row.sourceCurrencyCode
// this.list[index].sourceAmount = row.sourceAmount
// this.list[index].targetCurrencyCode = row.targetCurrencyCode
// this.list[index].targetAmount = row.targetAmount
// this.list[index].baseAmount = row.writeOffAmount
// console.log("listdd", this.list)
...
...
@@ -1176,6 +1185,11 @@ export default {
this
.
list
.
forEach
((
item
)
=>
{
if
(
item
.
currencyId
==
row
.
currencyId
)
{
item
.
exchangeRate
=
row
.
writeOffRate
item
.
sourceCurrencyCode
=
row
.
sourceCurrencyCode
item
.
sourceAmount
=
row
.
sourceAmount
item
.
targetCurrencyCode
=
row
.
targetCurrencyCode
item
.
targetAmount
=
row
.
targetAmount
item
.
baseAmount
=
NP
.
round
(
NP
.
divide
(
NP
.
times
(
row
.
targetAmount
||
0
,
item
.
actualAmount
),
row
.
sourceAmount
||
1
),
2
)
}
}
)
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
e262bc03
...
...
@@ -183,7 +183,7 @@
<
el
-
table
-
column
align
=
"
center
"
width
=
"
220
"
>
<
template
#
header
>
{{
$t
(
"
基准币种
"
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
{{
$t
(
"
汇率
"
)
}}
<
/template
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
v
-
if
=
"
scope.row.type !== 'total'
"
>
{{
scope
.
row
.
sourceCurrencyCode
}}
{{
scope
.
row
.
sourceAmount
}}
:
{{
scope
.
row
.
target
CurrencyCode
}}
{{
scope
.
row
.
targetAmount
}}
<
/template
>
<
template
v
-
if
=
"
scope.row.type !== 'total'
"
>
{{
scope
.
row
.
sourceCurrencyCode
}}
{{
scope
.
row
.
sourceAmount
}}
:
{{
scope
.
row
.
target
Amount
}}
{{
scope
.
row
.
targetCurrencyCode
}}
<
/template
>
<
template
v
-
else
>
{{
$t
(
"
应核销总金额
"
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
<
/template
>
<
/template
>
<
/el-table-column
>
...
...
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