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
803f4988
Commit
803f4988
authored
Nov 01, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单bug
parent
abd58d6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+7
-6
voucher.vue
src/views/ecw/financial/voucher.vue
+1
-0
No files found.
src/views/ecw/financial/receiptDetail.vue
View file @
803f4988
...
...
@@ -709,12 +709,13 @@ export default {
if
(
val
===
this
.
showCurrencyId
)
{
rate
=
1
}
else
{
if
(
this
.
showCurrencyId
===
1
&&
val
===
3
)
rate
=
this
.
RMBtoUS
()
else
if
(
this
.
showCurrencyId
===
1
&&
val
===
2
)
rate
=
this
.
NANtoUS
()
else
if
(
this
.
showCurrencyId
===
3
&&
val
===
1
)
rate
=
this
.
UStoRMB
()
else
if
(
this
.
showCurrencyId
===
3
&&
val
===
2
)
rate
=
this
.
NANtoRMB
()
else
if
(
this
.
showCurrencyId
===
2
&&
val
===
1
)
rate
=
this
.
UStoNAN
()
else
if
(
this
.
showCurrencyId
===
2
&&
val
===
3
)
rate
=
this
.
RMBtoNAN
()
// if (this.showCurrencyId === 1 && val === 3) rate = this.RMBtoUS()
// else if (this.showCurrencyId === 1 && val === 2) rate = this.NANtoUS()
// else if (this.showCurrencyId === 3 && val === 1) rate = this.UStoRMB()
// else if (this.showCurrencyId === 3 && val === 2) rate = this.NANtoRMB()
// else if (this.showCurrencyId === 2 && val === 1) rate = this.UStoNAN()
// else if (this.showCurrencyId === 2 && val === 3) rate = this.RMBtoNAN()
rate
=
NP
.
divide
(
this
.
currencyList
.
find
(
v
=>
v
.
id
===
this
.
showCurrencyId
).
huilv
,
this
.
currencyList
.
find
(
v
=>
v
.
id
===
val
).
huilv
).
toFixed
(
6
)
}
this
.
$set
(
this
.
addForm
,
'
rate
'
,
rate
)
}
,
...
...
src/views/ecw/financial/voucher.vue
View file @
803f4988
...
...
@@ -200,6 +200,7 @@
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:finanicial:open']
"
>
{{
$t
(
'
打印
'
)
}}
<
/el-butto
n
>
<
el
-
button
...
...
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