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
c5eb4608
Commit
c5eb4608
authored
Jan 07, 2025
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
🐛
: 修复银行收款明细报错
parent
e21d9277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
BankReceiptsDetailItem.vue
...views/ecw/financial/components/BankReceiptsDetailItem.vue
+8
-5
No files found.
src/views/ecw/financial/components/BankReceiptsDetailItem.vue
View file @
c5eb4608
...
...
@@ -3,7 +3,7 @@
<el-dialog
:before-close=
"hiddenDialog"
:visible.sync=
"openBankReceiptsDetailItemDialog"
:title=
"dialogTitle"
width=
"50%"
append-to-body
>
<div
style=
"padding: 0 24px"
>
<el-form
:disabled=
"statusKey == 'view'"
ref=
"addForm"
:model=
"bankReceiptDetails"
label-width=
"250px"
>
<el-form-item
:label=
"$t('流水号')"
>
{{
dialogTitle
}}
--
{{
bankReceiptDetails
.
serialNumber
}}
</el-form-item>
<el-form-item
:label=
"$t('流水号')"
>
{{
bankReceiptDetails
.
serialNumber
}}
</el-form-item>
<el-form-item
:label=
"$t('收款单号')"
>
{{
bankReceiptDetails
.
receiptNo
}}
</el-form-item>
<el-form-item
:label=
"$t('剩余应收金额')"
>
<span>
{{
bankReceiptDetails
.
syValue
}}
</span>
...
...
@@ -224,7 +224,10 @@ export default {
},
watch
:
{
openBankReceiptsDetailItemDialog
(
val
,
old
)
{
this
.
getBankReceiptsDetails
()
this
.
bankReceiptDetails
=
{}
if
(
val
)
{
this
.
getBankReceiptsDetails
()
}
},
statusKey
(
val
,
old
)
{
if
(
val
==
"
edit
"
)
{
...
...
@@ -287,7 +290,7 @@ export default {
this
.
bankReceiptDetails
.
receivableList
.
forEach
((
item
)
=>
{
currentTotal
+=
item
.
writeOffAmount
})
if
(
currentTotal
>
this
.
bankReceiptDetails
.
writeOffAmount
)
{
if
(
this
.
bankReceiptDetails
.
writeOffAmount
&&
currentTotal
>
this
.
bankReceiptDetails
.
writeOffAmount
)
{
this
.
$modal
.
msgError
(
this
.
$t
(
"
本次实收基准金额小于上次填写核销金额总额,请注意
"
))
}
// this.bankReceiptDetails.receivableList.forEach((item) => {
...
...
@@ -308,7 +311,7 @@ export default {
this
.
bankReceiptDetails
.
receivableList
.
forEach
((
item
)
=>
{
currentTotal
+=
item
.
writeOffAmount
})
if
(
currentTotal
>
this
.
bankReceiptDetails
.
writeOffAmount
)
{
if
(
this
.
bankReceiptDetails
.
writeOffAmount
&&
currentTotal
>
this
.
bankReceiptDetails
.
writeOffAmount
)
{
this
.
$modal
.
msgError
(
this
.
$t
(
"
本次实收基准金额小于上次填写核销金额总额,请注意
"
))
}
// this.bankReceiptDetails.receivableList.forEach((item) => {
...
...
@@ -506,7 +509,7 @@ export default {
this
.
bankReceiptDetails
.
receivableList
.
forEach
((
item
)
=>
{
currentTotal
+=
item
.
writeOffAmount
})
if
(
currentTotal
>
this
.
bankReceiptDetails
.
writeOffAmount
)
{
if
(
this
.
bankReceiptDetails
.
writeOffAmount
&&
currentTotal
>
this
.
bankReceiptDetails
.
writeOffAmount
)
{
this
.
$modal
.
msgError
(
this
.
$t
(
"
本次实收基准金额小于上次填写核销金额总额,请注意
"
))
}
// this.bankReceiptDetails.receivableList.forEach((item) => {
...
...
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