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
ae8cb609
Commit
ae8cb609
authored
Aug 10, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release2.2' into release2.2
parents
66748ead
7ffedc66
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+2
-2
printVoucher.vue
src/views/ecw/financial/printVoucher.vue
+7
-2
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
ae8cb609
...
...
@@ -1084,7 +1084,7 @@ export default {
this
.
$modal
.
msgError
(
this
.
$t
(
'
汇率不能为0,请输入正确的汇率
'
));
}
if
(
row
.
collectionRate
){
row
.
receivableAmount
&&
(
row
.
collectionAmount
=
Math
.
round
(
NP
.
times
(
row
.
collectionRate
||
0
,
NP
.
minus
(
row
.
receivableAmount
,
row
.
discountTotal
||
0
))
))
row
.
receivableAmount
&&
(
row
.
collectionAmount
=
NP
.
times
(
row
.
collectionRate
||
0
,
NP
.
minus
(
row
.
receivableAmount
,
row
.
discountTotal
||
0
)).
toFixed
(
2
))
}
else
{
row
.
collectionAmount
=
''
}
...
...
@@ -1100,7 +1100,7 @@ export default {
this
.
currencyList
.
forEach
((
item
,
index
)
=>
{
var
dollarList
=
this
.
form
.
receiptAccountList
.
filter
(
v
=>
v
.
collectionCurrencyId
==
item
.
id
)
if
(
dollarList
.
length
>
0
){
var
dollar
=
Math
.
round
(
dollarList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
collectionAmount
),
0
)
)
var
dollar
=
dollarList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
collectionAmount
),
0
)
amountList
.
push
({
currencyId
:
item
.
id
,
currencyNameEn
:
item
.
titleEn
,
currencyNameZh
:
item
.
titleZh
,
amount
:
dollar
}
)
}
}
)
...
...
src/views/ecw/financial/printVoucher.vue
View file @
ae8cb609
...
...
@@ -50,7 +50,7 @@
<tr
v-for=
"(items, indexs) in receiptAccountList"
:key=
"indexs"
>
<td>
{{
getCurrencyLabel
(
items
.
currencyId
)
}}{{
$t
(
'
应收合计
'
)
}}
</td>
<td
><span
v-if=
"items.discountTotal>0"
>
{{
`${items.receivableAmount - items.discountTotal
}
(${items.receivableAmount
}
- ${items.discountTotal
}
)`
}}
<
/span
>
<
span
v
-
else
>
{{
`${items.receivableAmount
- items.discountTotal
}
`
}}
<
/span
>
<
span
v
-
else
>
{{
`${items.receivableAmount
}
`
}}
<
/span
>
<
/td
>
<
td
>
{{
$t
(
'
汇率
'
)
}}
<
/td
>
<
td
>
{{
items
.
collectionRate
}}
<
/td
>
...
...
@@ -68,7 +68,7 @@
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
A
/
C
NO
:
{{
bankTiem
.
accountNo
}}
<
/p
>
<
/div
>
<
div
style
=
"
padding:6px 0;width: 87.5%;text-align: center;
"
>
<
p
style
=
"
margin: 0;
"
>
{{
$t
(
'
实收
'
)
}}
{{
getCurrencyLabel
(
bankTiem
.
currencyId
)
}}
:
{{
bankTiem
.
amount
}}
¥
<
/p
>
<
p
style
=
"
margin: 0;
"
>
{{
$t
(
'
实收
'
)
}}
{{
getCurrencyLabel
(
bankTiem
.
currencyId
)
}}
:
{{
bankTiem
.
amount
}}
{{
getCurrencyFuhao
(
bankTiem
.
currencyId
)
}}
<
/p
>
<!--
<
p
style
=
"
margin: 0;
"
>
未收:¥
{{
bankTiem
.
noReceipt
}}
<
/p> --
>
<
/div
>
<
/div
>
...
...
@@ -216,6 +216,11 @@
if
(
label
.
length
>
0
)
return
this
.
$i18n
.
locale
==
'
zh_CN
'
?
label
[
0
].
titleZh
:
label
[
0
].
titleEn
return
''
}
,
getCurrencyFuhao
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
fuhao
return
''
}
,
getList
()
{
getReceivableItem
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
detailed
=
res
.
data
...
...
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