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
6d36f641
Commit
6d36f641
authored
Sep 28, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
8dc690fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+15
-15
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
6d36f641
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
<el-table-column
label=
"唛头"
align=
"center"
prop=
"marks"
/>
<el-table-column
label=
"唛头"
align=
"center"
prop=
"marks"
/>
<el-table-column
label=
"品名"
align=
"center"
prop=
"title"
>
<el-table-column
label=
"品名"
align=
"center"
prop=
"title"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
}}
{{
scope
.
row
.
titleZh
?(
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
):
''
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"箱数"
align=
"center"
prop=
"num"
/>
<el-table-column
label=
"箱数"
align=
"center"
prop=
"num"
/>
...
@@ -347,11 +347,11 @@
...
@@ -347,11 +347,11 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
收款金额
"
align
=
"
center
"
prop
=
"
collectionAmount
"
>
<
el
-
table
-
column
label
=
"
收款金额
"
align
=
"
center
"
prop
=
"
collectionAmount
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
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
.
toFixed
(
6
)
}}
<
/span
>
<
div
v
-
else
>
<
div
v
-
else
>
<
div
v
-
if
=
"
scope.row.collectionAmount[0]
"
>
美元
:
{{
scope
.
row
.
collectionAmount
[
0
]
}}
<
/div
>
<
div
v
-
if
=
"
scope.row.collectionAmount[0]
"
>
美元
:
{{
scope
.
row
.
collectionAmount
[
0
]
.
toFixed
(
6
)
}}
<
/div
>
<
div
v
-
if
=
"
scope.row.collectionAmount[1]
"
>
人民币
:
{{
scope
.
row
.
collectionAmount
[
1
]
}}
<
/div
>
<
div
v
-
if
=
"
scope.row.collectionAmount[1]
"
>
人民币
:
{{
scope
.
row
.
collectionAmount
[
1
]
.
toFixed
(
6
)
}}
<
/div
>
<
div
v
-
if
=
"
scope.row.collectionAmount[2]
"
>
奈拉
:
{{
scope
.
row
.
collectionAmount
[
2
]
}}
<
/div
>
<
div
v
-
if
=
"
scope.row.collectionAmount[2]
"
>
奈拉
:
{{
scope
.
row
.
collectionAmount
[
2
]
.
toFixed
(
6
)
}}
<
/div
>
<
/div
>
<
/div
>
<!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
-->
<!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
-->
<
/template
>
<
/template
>
...
@@ -377,9 +377,9 @@
...
@@ -377,9 +377,9 @@
<
/el-card
>
<
/el-card
>
<
/el-form
>
<
/el-form
>
<
div
slot
=
"
footer
"
style
=
"
margin: 20px 0
"
>
<
div
slot
=
"
footer
"
style
=
"
margin: 20px 0
"
>
<
el
-
button
v
-
if
=
"
id==0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(1)
"
>
保
存
<
/el-button
>
<
el
-
button
v
-
if
=
"
id==0
||form.state==0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(1)
"
>
保
存
<
/el-button
>
<
el
-
button
v
-
else
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
$store.dispatch('tagsView/delCurrentView')
"
>
返
回
<
/el-button
>
<
el
-
button
v
-
else
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
$store.dispatch('tagsView/delCurrentView')
"
>
返
回
<
/el-button
>
<
el
-
button
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(0)
"
>
{{
id
?
'
修 改
'
:
'
新 增
'
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(0)
"
>
{{
id
&&
form
.
state
!=
0
?
'
修 改
'
:
'
新 增
'
}}
<
/el-button
>
<
/div
>
<
/div
>
<
el
-
dialog
<
el
-
dialog
:
visible
.
sync
=
"
open
"
:
visible
.
sync
=
"
open
"
...
@@ -505,7 +505,7 @@
...
@@ -505,7 +505,7 @@
<
el
-
table
-
column
label
=
"
唛头
"
align
=
"
center
"
prop
=
"
marks
"
/>
<
el
-
table
-
column
label
=
"
唛头
"
align
=
"
center
"
prop
=
"
marks
"
/>
<
el
-
table
-
column
label
=
"
品名
"
align
=
"
center
"
prop
=
"
title
"
>
<
el
-
table
-
column
label
=
"
品名
"
align
=
"
center
"
prop
=
"
title
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
}}
{{
scope
.
row
.
titleZh
?(
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
):
''
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
箱数
"
align
=
"
center
"
prop
=
"
num
"
/>
<
el
-
table
-
column
label
=
"
箱数
"
align
=
"
center
"
prop
=
"
num
"
/>
...
@@ -566,7 +566,7 @@
...
@@ -566,7 +566,7 @@
<
el
-
table
-
column
label
=
"
唛头
"
align
=
"
center
"
prop
=
"
marks
"
/>
<
el
-
table
-
column
label
=
"
唛头
"
align
=
"
center
"
prop
=
"
marks
"
/>
<
el
-
table
-
column
label
=
"
品名
"
align
=
"
center
"
prop
=
"
title
"
>
<
el
-
table
-
column
label
=
"
品名
"
align
=
"
center
"
prop
=
"
title
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
}}
{{
scope
.
row
.
titleZh
?(
scope
.
row
.
titleZh
+
"
(
"
+
scope
.
row
.
titleEn
+
"
)
"
):
''
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
箱数
"
align
=
"
center
"
prop
=
"
num
"
/>
<
el
-
table
-
column
label
=
"
箱数
"
align
=
"
center
"
prop
=
"
num
"
/>
...
@@ -971,22 +971,22 @@ export default {
...
@@ -971,22 +971,22 @@ export default {
}
}
}
,
}
,
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
)
.
toFixed
(
6
)
}
,
}
,
NANtoUS
()
{
NANtoUS
()
{
return
NP
.
times
(
this
.
RMBtoUS
(),
this
.
NANtoRMB
())
return
NP
.
times
(
this
.
RMBtoUS
(),
this
.
NANtoRMB
())
.
toFixed
(
6
)
}
,
}
,
UStoRMB
()
{
UStoRMB
()
{
return
NP
.
divide
(
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
USD
'
).
huilv
,
100
)
return
NP
.
divide
(
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
USD
'
).
huilv
,
100
)
.
toFixed
(
6
)
}
,
}
,
UStoNAN
()
{
UStoNAN
()
{
return
NP
.
times
(
this
.
RMBtoNAN
(),
this
.
UStoRMB
())
return
NP
.
times
(
this
.
RMBtoNAN
(),
this
.
UStoRMB
())
.
toFixed
(
6
)
}
,
}
,
RMBtoNAN
()
{
RMBtoNAN
()
{
return
NP
.
divide
(
100
,
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
NGN
'
).
huilv
)
return
NP
.
divide
(
100
,
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
NGN
'
).
huilv
)
.
toFixed
(
6
)
}
,
}
,
NANtoRMB
()
{
NANtoRMB
()
{
return
NP
.
divide
(
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
NGN
'
).
huilv
,
100
)
return
NP
.
divide
(
this
.
currencyList
.
find
(
v
=>
v
.
titleEn
===
'
NGN
'
).
huilv
,
100
)
.
toFixed
(
6
)
}
,
}
,
customerChange
(
value
)
{
customerChange
(
value
)
{
this
.
form
.
customerName
=
value
.
name
this
.
form
.
customerName
=
value
.
name
...
...
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