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
54a6da8c
Commit
54a6da8c
authored
Mar 29, 2024
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单详情应收金额为0优化
parent
2c14529e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+4
-4
No files found.
src/views/ecw/financial/receiptDetail.vue
View file @
54a6da8c
...
...
@@ -187,7 +187,7 @@
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('期望收款金额')
"
align
=
"
center
"
prop
=
"
collectionAmount
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
v
-
if
=
"
scope.row.type !== 'total'
"
>
{{
scope
.
row
.
collectionAmount
}}
<
/span
>
<
span
v
-
if
=
"
scope.row.type !== 'total'
"
>
{{
scope
.
row
.
collectionAmount
||
0
}}
<
/span
>
<
div
v
-
else
>
<
div
v
-
for
=
"
itemAmount in scope.row.collectionAmount
"
>
{{
$i18n
.
locale
==
'
zh_CN
'
?
itemAmount
.
currencyNameZh
:
itemAmount
.
currencyNameEn
}}
:
{{
itemAmount
&&
itemAmount
.
amount
?
itemAmount
.
amount
:
0
}}
<
/div
>
<!--
<
div
v
-
if
=
"
scope.row.collectionAmount[0]
"
>
{{
$t
(
'
美元
'
)
}}
:
{{
scope
.
row
.
collectionAmount
[
0
]
}}
<
/div
>
...
...
@@ -811,7 +811,7 @@ export default {
// if(n && n.discountTotal&&n.discountTotal>0)
{
// amountList.push(
{
currencyName
:
item
.
titleZh
,
currencyId
:
item
.
id
,
amount
:(
dollar
-
n
.
discountTotal
).
toFixed
(
2
)
}
)
//
}
else
{
amountList
.
push
({
currencyId
:
item
.
id
,
currencyNameEn
:
item
.
titleEn
,
currencyNameZh
:
item
.
titleZh
,
amount
:
dollar
}
)
amountList
.
push
({
currencyId
:
item
.
id
,
currencyNameEn
:
item
.
titleEn
,
currencyNameZh
:
item
.
titleZh
,
amount
:
dollar
||
0
}
)
//
}
}
...
...
@@ -882,12 +882,12 @@ export default {
}
else
{
// console.log(this.addForm.amount)
// this.addForm.amount = this.addForm.amount.toFixed(2)
// if(this.addForm&&this.addForm.amount&&this.addForm.amount.indexOf('.')>-1
)
{
if
(
this
.
addForm
&&
this
.
addForm
.
amount
){
pointArr
=
this
.
addForm
.
amount
.
toString
().
split
(
'
.
'
)
if
(
pointArr
.
length
>
1
&&
pointArr
[
1
]){
this
.
addForm
.
amount
=
Math
.
round
(
this
.
addForm
.
amount
*
100
)
/
100
}
//
}
}
}
this
.
$set
(
this
.
addForm
,
'
writeOffAmount
'
,
NP
.
times
(
this
.
addForm
.
rate
||
0
,
this
.
addForm
.
amount
||
0
))
}
,
...
...
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