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
8a19e1b8
Commit
8a19e1b8
authored
Jul 10, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特价组件 费用单位
parent
90a00e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
7 deletions
+49
-7
special.vue
src/views/ecw/offer/special.vue
+49
-7
No files found.
src/views/ecw/offer/special.vue
View file @
8a19e1b8
...
...
@@ -12,6 +12,9 @@
<el-table-column
prop=
"prodTitleZh"
label=
"品名"
>
<template
v-slot=
"
{row}">
{{
row
.
prodTitleZh
}}
/
{{
row
.
prodTitleEn
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prodAttrIds"
...
...
@@ -20,6 +23,12 @@
<el-table-column
prop=
"address"
label=
"入库货物属性"
>
<
template
v-slot=
"{row}"
>
品牌:
<br>
箱数:
{{
row
.
num
}}
<br>
体积:
{{
row
.
volume
}}
m³
<br>
重量:
{{
row
.
weight
}}
Kg
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
...
...
@@ -28,23 +37,33 @@
<el-table-column
label=
"原价"
>
<
template
v-slot=
"{row}"
>
运费:
{{
row
.
originalSeaFreight
}}
美元/立方米 清关费:
{{
row
.
originalClearanceFreight
}}
奈拉/立方米
运费:
{{
row
.
originalSeaFreight
}}
{{
currentMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
<br>
清关费:
{{
row
.
originalClearanceFreight
}}
{{
currentMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"成本价"
>
<
template
v-slot=
"{row}"
>
运费:
{{
row
.
seaFreight
}}
美元/立方米 清关费:
{{
row
.
clearanceFreight
}}
奈拉/立方米
运费:
{{
row
.
seaFreight
}}
{{
currentMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
<br>
清关费:
{{
row
.
clearanceFreight
}}
{{
currentMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"销售价"
>
<
template
v-slot=
"{row}"
>
运费:
{{
row
.
seaFreight
}}
美元/立方米 清关费:
{{
row
.
clearanceFreight
}}
奈拉/立方米
运费:
{{
row
.
seaFreight
}}
{{
currentMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
<br>
清关费:
{{
row
.
clearanceFreight
}}
{{
currentMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"审核状态"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"操作"
>
...
...
@@ -67,19 +86,21 @@
</template>
<
script
>
import
{
getOfferLogPage
}
from
"
@/api/ecw/offerLog
"
;
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
getOffer
}
from
'
@/api/ecw/offer
'
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
export
default
{
name
:
"
OfferSpecial
"
,
components
:
{
},
props
:
{
offerId
:
String
},
data
()
{
return
{
DICT_TYPE
,
getDictDataLabel
,
// 遮罩层
loading
:
true
,
list
:
[],
...
...
@@ -95,7 +116,9 @@ export default {
offer
:
{
number
:
''
,
offerProdRespVOList
:
[]
}
},
unitList
:[],
currencyList
:[],
};
},
created
()
{
...
...
@@ -103,6 +126,8 @@ export default {
this
.
params
.
offerId
=
this
.
offerId
this
.
getOffer
()
}
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
},
methods
:
{
getOffer
(){
...
...
@@ -112,7 +137,24 @@ export default {
this
.
offer
=
response
.
data
})
}
},
computed
:
{
currentMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
})
return
map
},
unitMap
(){
let
map
=
{}
this
.
unitList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
})
return
map
}
}
};
</
script
>
<
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