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
41c7c422
Commit
41c7c422
authored
Oct 12, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
497ab994
d0bb9b2e
Changes
1
Hide 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 @
41c7c422
...
...
@@ -289,13 +289,13 @@
<
el
-
form
-
item
label
=
"
收款单号
"
>
{{
form
.
receiptNo
}}
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
剩余应收金额
"
>
<
div
>
<
div
>
{{
remainingAmount
.
usAmount
}}
美元
<
/div
>
<
div
>
{{
remainingAmount
.
rmbAmount
}}
人民币
<
/div
>
<
div
>
{{
remainingAmount
.
nairaAmount
}}
奈拉
<
/div
>
<
div
>
{{
remainingAmount
.
usAmount
.
toFixed
(
6
)
}}
美元
<
/div
>
<
div
>
{{
remainingAmount
.
rmbAmount
.
toFixed
(
6
)
}}
人民币
<
/div
>
<
div
>
{{
remainingAmount
.
nairaAmount
.
toFixed
(
6
)
}}
奈拉
<
/div
>
<
/div
>
<
/el-form-item
>
<
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-select
>
<
span
v
-
else
>
{{
addForm
.
accountNo
}}
<
/span
>
...
...
@@ -344,7 +344,7 @@
汇率(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
<
/template
>
<
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
v
-
if
=
"
showCurrencyId != addForm.currencyId
"
...
...
@@ -352,7 +352,7 @@
<
template
slot
=
"
label
"
>
金额(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
<
/template
>
<
span
>
{{
addForm
.
writeOffAmount
}}
<
/span
>
<
span
>
{{
addForm
.
writeOffAmount
?
parseFloat
(
addForm
.
writeOffAmount
).
toFixed
(
6
):
''
}}
<
/span
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
水单附件
"
...
...
@@ -398,7 +398,7 @@
import
{
getBankAccountPage
}
from
"
@/api/ecw/bankAccount
"
;
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
getCustomer
}
from
'
@/api/ecw/customer
'
import
{
import
{
getReceiptInfoByIds
,
getInvoicingItem
,
receiptItemCreate
,
...
...
@@ -543,7 +543,7 @@ export default {
}
)
}
)
}
this
.
getList
()
}
,
methods
:
{
...
...
@@ -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
()
{
return
NP
.
divide
(
100
,
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
USD
'
).
huilv
)
}
,
...
...
@@ -635,6 +639,7 @@ export default {
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
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
}
))
:
[]
}
))
this
.
calculation
()
...
...
@@ -663,7 +668,7 @@ export default {
}
)
}
}
)
}
,
toEdit
()
{
return
this
.
$router
.
push
(
"
creatCollection?id=
"
+
this
.
id
);
...
...
@@ -674,6 +679,7 @@ export default {
this
.
isView
=
true
setTimeout
(()
=>
{
this
.
addForm
=
{
...
row
}
this
.
setWriteOffAmount
()
}
,
0
)
}
,
editClick
(
row
)
{
...
...
@@ -683,6 +689,7 @@ export default {
this
.
isView
=
false
setTimeout
(()
=>
{
this
.
addForm
=
{
...
row
}
this
.
setWriteOffAmount
()
}
,
0
)
}
,
deleteClick
(
row
)
{
...
...
@@ -773,7 +780,7 @@ export default {
}
);
this
.
addForm
.
attr
=
arr
;
}
,
300
)
this
.
loading
.
close
();
this
.
loading
.
close
();
}
,
handleBeforeUpload
()
{
this
.
loading
=
this
.
$loading
({
...
...
@@ -827,4 +834,4 @@ export default {
width
:
22
%
;
}
}
<
/style>
\ No newline at end of file
<
/style
>
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