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
6a468170
Commit
6a468170
authored
Oct 11, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加银行实收明细bug
parent
2a442837
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
+18
-11
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+18
-11
No files found.
src/views/ecw/financial/receiptDetail.vue
View file @
6a468170
...
@@ -289,13 +289,13 @@
...
@@ -289,13 +289,13 @@
<
el
-
form
-
item
label
=
"
收款单号
"
>
{{
form
.
receiptNo
}}
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
收款单号
"
>
{{
form
.
receiptNo
}}
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
剩余应收金额
"
>
<
el
-
form
-
item
label
=
"
剩余应收金额
"
>
<
div
>
<
div
>
<
div
>
{{
remainingAmount
.
usAmount
}}
美元
<
/div
>
<
div
>
{{
remainingAmount
.
usAmount
.
toFixed
(
6
)
}}
美元
<
/div
>
<
div
>
{{
remainingAmount
.
rmbAmount
}}
人民币
<
/div
>
<
div
>
{{
remainingAmount
.
rmbAmount
.
toFixed
(
6
)
}}
人民币
<
/div
>
<
div
>
{{
remainingAmount
.
nairaAmount
}}
奈拉
<
/div
>
<
div
>
{{
remainingAmount
.
nairaAmount
.
toFixed
(
6
)
}}
奈拉
<
/div
>
<
/div
>
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
收款账户
"
prop
=
"
accountNo
"
:
rules
=
"
{ required: true, trigger: ['blur', 'change'], message: '收款账户不能为空'
}
"
>
<
el
-
form
-
item
label
=
"
收款账户
"
prop
=
"
accountNo
"
:
rules
=
"
{ required: true, trigger: ['blur', 'change'], message: '收款账户不能为空'
}
"
>
<
el
-
select
v
-
if
=
"
!isView
"
v
-
model
=
"
addForm.accountNo
"
placeholder
=
"
请选择收款账户
"
style
=
"
width: 220px
"
>
<
el
-
select
v
-
if
=
"
!isView
"
v
-
model
=
"
addForm.accountNo
"
placeholder
=
"
请选择收款账户
"
style
=
"
width: 220px
"
@
change
=
"
accountChange
"
>
<
el
-
option
v
-
for
=
"
item in bankData
"
:
key
=
"
item.id
"
:
label
=
"
item.baAccountName + '(' + item.baAccountNum + ')'
"
:
value
=
"
item.id
"
/>
<
el
-
option
v
-
for
=
"
item in bankData
"
:
key
=
"
item.id
"
:
label
=
"
item.baAccountName + '(' + item.baAccountNum + ')'
"
:
value
=
"
item.id
"
/>
<
/el-select
>
<
/el-select
>
<
span
v
-
else
>
{{
addForm
.
accountNo
}}
<
/span
>
<
span
v
-
else
>
{{
addForm
.
accountNo
}}
<
/span
>
...
@@ -344,7 +344,7 @@
...
@@ -344,7 +344,7 @@
汇率(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
汇率(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
<
/template
>
<
/template
>
<
el
-
input
v
-
if
=
"
!isView
"
v
-
model
=
"
addForm.rate
"
style
=
"
width: 220px
"
><
/el-input
>
<
el
-
input
v
-
if
=
"
!isView
"
v
-
model
=
"
addForm.rate
"
style
=
"
width: 220px
"
><
/el-input
>
<
span
v
-
else
>
{{
addForm
.
rate
}}
<
/span
>
<
span
v
-
else
>
{{
addForm
.
rate
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
<
el
-
form
-
item
v
-
if
=
"
showCurrencyId != addForm.currencyId
"
v
-
if
=
"
showCurrencyId != addForm.currencyId
"
...
@@ -352,7 +352,7 @@
...
@@ -352,7 +352,7 @@
<
template
slot
=
"
label
"
>
<
template
slot
=
"
label
"
>
金额(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
金额(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
<
/template
>
<
/template
>
<
span
>
{{
addForm
.
writeOffAmount
}}
<
/span
>
<
span
>
{{
addForm
.
writeOffAmount
?
parseFloat
(
addForm
.
writeOffAmount
).
toFixed
(
6
):
''
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
<
el
-
form
-
item
label
=
"
水单附件
"
label
=
"
水单附件
"
...
@@ -596,6 +596,10 @@ export default {
...
@@ -596,6 +596,10 @@ export default {
}
}
}
}
}
,
}
,
accountChange
(
val
){
var
data
=
this
.
bankData
.
find
(
item
=>
item
.
id
==
val
)
this
.
$set
(
this
.
addForm
,
'
accountName
'
,
data
.
baAccountName
)
}
,
RMBtoUS
()
{
RMBtoUS
()
{
return
NP
.
divide
(
100
,
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
USD
'
).
huilv
)
return
NP
.
divide
(
100
,
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
USD
'
).
huilv
)
}
,
}
,
...
@@ -635,6 +639,7 @@ export default {
...
@@ -635,6 +639,7 @@ export default {
...
v
,
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
accountNo
:
+
v
.
accountNo
,
accountNo
:
+
v
.
accountNo
,
rate
:
parseFloat
(
v
.
rate
).
toFixed
(
6
),
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
}
))
}
))
this
.
calculation
()
this
.
calculation
()
...
@@ -674,6 +679,7 @@ export default {
...
@@ -674,6 +679,7 @@ export default {
this
.
isView
=
true
this
.
isView
=
true
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
addForm
=
{
...
row
}
this
.
addForm
=
{
...
row
}
this
.
setWriteOffAmount
()
}
,
0
)
}
,
0
)
}
,
}
,
editClick
(
row
)
{
editClick
(
row
)
{
...
@@ -683,6 +689,7 @@ export default {
...
@@ -683,6 +689,7 @@ export default {
this
.
isView
=
false
this
.
isView
=
false
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
addForm
=
{
...
row
}
this
.
addForm
=
{
...
row
}
this
.
setWriteOffAmount
()
}
,
0
)
}
,
0
)
}
,
}
,
deleteClick
(
row
)
{
deleteClick
(
row
)
{
...
...
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