Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
ab715fa8
Commit
ab715fa8
authored
Jun 07, 2022
by
季圣华
Browse files
解决待付金额和待收金额计算的bug
parent
aac42f8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/PurchaseInList.vue
View file @
ab715fa8
...
...
@@ -225,7 +225,7 @@
},
{
title
:
'
待付金额
'
,
dataIndex
:
'
needInMoney
'
,
width
:
80
,
customRender
:
function
(
text
,
record
,
index
)
{
let
needInMoney
=
record
.
discountLastMoney
+
record
.
otherMoney
let
needInMoney
=
record
.
discountLastMoney
+
record
.
otherMoney
-
record
.
deposit
return
needInMoney
?
needInMoney
.
toFixed
(
2
):
''
}
},
...
...
jshERP-web/src/views/bill/SaleOutList.vue
View file @
ab715fa8
...
...
@@ -225,7 +225,7 @@
},
{
title
:
'
待收金额
'
,
dataIndex
:
'
needOutMoney
'
,
width
:
80
,
customRender
:
function
(
text
,
record
,
index
)
{
let
needOutMoney
=
record
.
discountLastMoney
+
record
.
otherMoney
let
needOutMoney
=
record
.
discountLastMoney
+
record
.
otherMoney
-
record
.
deposit
return
needOutMoney
?
needOutMoney
.
toFixed
(
2
):
''
}
},
...
...
Write
Preview
Supports
Markdown
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