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
b223b3c3
Commit
b223b3c3
authored
Oct 30, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
5d010348
3e297010
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
118 additions
and
151 deletions
+118
-151
index.vue
src/views/ecw/coupon/index.vue
+78
-17
CheckDetailProd.vue
src/views/ecw/order/components/CheckDetailProd.vue
+37
-132
detail.vue
src/views/ecw/order/detail.vue
+3
-2
No files found.
src/views/ecw/coupon/index.vue
View file @
b223b3c3
...
...
@@ -9,12 +9,21 @@
<!--
<el-form-item
:label=
"$t('标题')"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入标题')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
-->
<el-form-item
:label=
"$t('类型')"
prop=
"type"
>
<dict-selector
:type=
'DICT_TYPE.ECW_COUPON_TYPE'
v-model=
"queryParams.type"
clearable
/>
<el-form-item
:label=
"$t('类型')"
prop=
"types"
>
<dict-selector
:type=
'DICT_TYPE.ECW_COUPON_TYPE'
v-model=
"queryParams.types"
multiple
clearable
/>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"status"
clearable
>
<el-form-item
:label=
"$t('状态')"
prop=
"status
List
"
clearable
>
<!--
<dict-selector
:type=
"DICT_TYPE.ECW_COUPON_STATUS"
v-model=
"queryParams.status"
/>
-->
<el-select
v-model=
"queryParams.status"
:placeholder=
"$t('请选择')"
clearable
size=
"small"
>
<el-select
v-model=
"queryParams.statusList"
:placeholder=
"$t('请选择')"
clearable
multiple
size=
"small"
>
<el-option
:label=
"$t('草稿')"
value=
"0"
/>
<el-option
:label=
"$t('已发布')"
value=
"1"
/>
<el-option
:label=
"$t('已过期')"
value=
"2"
/>
...
...
@@ -23,6 +32,38 @@
<el-form-item
:label=
"$t('关键字')"
prop=
"searchKey"
>
<el-input
v-model=
"queryParams.searchKey"
:placeholder=
"$t('请输入关键字')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('有效期')"
prop=
"validDays"
>
<el-input
v-model.trim=
"queryParams.validDays"
:placeholder=
"$t('请输入有效期')"
clearable
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
/>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
<el-date-picker
v-model=
"dateRangeCreateTime"
type=
"datetimerange"
:start-placeholder=
"$t('开始日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
:end-placeholder=
"$t('结束日期')"
>
</el-date-picker>
</el-form-item>
<el-form-item
:label=
"$t('创建人')"
prop=
"creator"
>
<el-input
v-model.trim=
"queryParams.creator"
:placeholder=
"$t('请输入创建人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
...
...
@@ -50,42 +91,46 @@
<dict-tag
:type=
"DICT_TYPE.ECW_COUPON_TYPE"
:value=
"row.type"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('标题')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('标题')"
align=
"center"
prop=
"titleZh"
width=
"180"
/>
<!-- <el-table-column :label="$t('描述')" align="center" prop="type">
<template slot-scope="{row}">
{{$l(row, 'content')}}
</template>
</el-table-column> -->
<el-table-column
:label=
"$t('发布人') + '/' + $t('发布时间')"
align=
"center"
prop=
"startTime"
width=
"1
8
0"
>
<el-table-column
:label=
"$t('发布人') + '/' + $t('发布时间')"
align=
"center"
prop=
"startTime"
width=
"1
5
0"
>
<
template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
creatorName
}}
</div>
<div>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('开始时间')"
align=
"center"
prop=
"startTime"
width=
"180"
>
<el-table-column
:label=
"$t('有效期(天)')"
align=
"center"
prop=
"validDays"
width=
"90"
/>
<el-table-column
:label=
"$t('开始时间')"
align=
"center"
prop=
"startTime"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
startTime
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('结束时间')
"
align
=
"
center
"
prop
=
"
endTime
"
width
=
"
1
8
0
"
>
<
el
-
table
-
column
:
label
=
"
$t('结束时间')
"
align
=
"
center
"
prop
=
"
endTime
"
width
=
"
1
0
0
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
div
:
style
=
"
{color: !row.overdueStatus ? 'red' : null
}
"
>
{{
parseTime
(
row
.
endTime
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/div
>
<
div
style
=
"
color: red
"
>
{{
!
row
.
overdueStatus
?
$t
(
'
已过期
'
)
:
expireTips
(
row
.
endTime
)
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<!--
<
el
-
table
-
column
:
label
=
"
$t('创建
时间')
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
18
0
"
>
<
el
-
table
-
column
:
label
=
"
$t('创建
人') + '/' + $t('创建时间')
"
align
=
"
center
"
width
=
"
15
0
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
<
/span
>
<
div
>
{{
scope
.
row
.
creatorName
}}
<
/div
>
<
div
>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
<
/div
>
<
/template
>
<
/el-table-column--
>
<
el
-
table
-
column
:
label
=
"
$t('更新人') + '/' + $t('更新时间')
"
align
=
"
center
"
width
=
"
180
"
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('更新人') + '/' + $t('更新时间')
"
align
=
"
center
"
width
=
"
150
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
div
>
{{
scope
.
row
.
updaterName
}}
<
/div
>
<
div
>
{{
parseTime
(
scope
.
row
.
updateTime
)
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('状态')
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
1
8
0
"
>
<
el
-
table
-
column
:
label
=
"
$t('状态')
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
1
2
0
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
template
v
-
if
=
"
row.status === 1
"
>
<
template
v
-
if
=
"
row.putonStatus === 1
"
>
{{
$t
(
'
已发布,投放中
'
)
}}
<
/template
>
...
...
@@ -185,7 +230,7 @@ export default {
open
:
false
,
dateRangeStartTime
:
[],
dateRangeEndTime
:
[],
dateRangeCreateTime
:
null
,
dateRangeCreateTime
:
[]
,
// 查询参数
queryParams
:
{
pageNo
:
1
,
...
...
@@ -278,7 +323,14 @@ export default {
}
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeStartTime
,
'
startTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeEndTime
,
'
endTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
,
false
);
// 执行查询
getCouponPage
(
params
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
...
...
@@ -296,7 +348,10 @@ export default {
this
.
dateRangeStartTime
=
[];
this
.
dateRangeEndTime
=
[];
this
.
dateRangeCreateTime
=
[];
this
.
queryParams
.
statusList
=
[];
this
.
resetForm
(
"
queryForm
"
);
this
.
queryParams
.
types
=
[];
this
.
handleQuery
();
}
,
/** 新增按钮操作 */
...
...
@@ -359,7 +414,13 @@ export default {
params
.
pageSize
=
undefined
;
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeStartTime
,
'
startTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeEndTime
,
'
endTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
,
false
);
// 执行导出
this
.
$confirm
(
this
.
$t
(
'
是否确认导出所有优惠券信息数据项?
'
)).
then
(()
=>
{
this
.
exportLoading
=
true
;
...
...
src/views/ecw/order/components/CheckDetailProd.vue
View file @
b223b3c3
...
...
@@ -83,13 +83,20 @@ export default {
volume
:
new
Decimal
(
0
),
quantity
:
new
Decimal
(
0
)
}
//
入仓
数据
//
装柜/出货
数据
let
warehouseInData
=
{
num
:
new
Decimal
(
0
),
weight
:
new
Decimal
(
0
),
volume
:
new
Decimal
(
0
),
quantity
:
new
Decimal
(
0
)
}
// 到仓数据
let
toWarehouseData
=
{
checkNum
:
new
Decimal
(
0
),
checkWeight
:
new
Decimal
(
0
),
checkVolume
:
new
Decimal
(
0
),
checkQuantity
:
new
Decimal
(
0
)
}
// 收费数据
let
chargeData
=
{
weight
:
new
Decimal
(
0
),
...
...
@@ -107,19 +114,19 @@ export default {
warehouseInData
.
volume
=
warehouseInData
.
volume
.
plus
(
item
.
warehouseInInfoVO
.
volume
||
0
)
warehouseInData
.
quantity
=
warehouseInData
.
quantity
.
plus
(
item
.
warehouseInInfoVO
.
quantityAll
||
0
)
}
toWarehouseData
.
checkNum
=
toWarehouseData
.
checkNum
.
plus
(
item
.
checkNum
||
0
)
toWarehouseData
.
checkWeight
=
toWarehouseData
.
checkWeight
.
plus
(
item
.
checkWeight
||
0
)
toWarehouseData
.
checkVolume
=
toWarehouseData
.
checkVolume
.
plus
(
item
.
checkVolume
||
0
)
toWarehouseData
.
checkQuantity
=
toWarehouseData
.
checkQuantity
.
plus
(
item
.
checkQuantity
||
0
)
chargeData
.
weight
=
chargeData
.
weight
.
plus
(
item
.
chargeWeight
||
0
)
chargeData
.
volume
=
chargeData
.
volume
.
plus
(
item
.
chargeVolume
||
0
)
})
const
summary
=
Array
(
19
).
fill
(
null
)
const
summary
=
Array
(
8
).
fill
(
null
)
summary
[
3
]
=
this
.
$t
(
"
合计
"
)
// 入仓
summary
[
4
]
=
`
${
warehouseInData
.
num
}${
this
.
$t
(
'
箱
'
)}
${
warehouseInData
.
weight
}
KG
${
warehouseInData
.
volume
}
m³
${
warehouseInData
.
quantity
}${
this
.
$t
(
'
个
'
)}
`
// 货值
summary
[
7
]
=
worth
.
toNumber
()
// 收费数九
summary
[
10
]
=
`
${
chargeData
.
weight
}
KG
${
chargeData
.
volume
}
m³`
// 填单数据
summary
[
17
]
=
`
${
fillData
.
num
}${
this
.
$t
(
'
箱
'
)}
${
fillData
.
weight
}
KG
${
fillData
.
volume
}
m³
${
fillData
.
quantity
}${
this
.
$t
(
'
个
'
)}
`
// 到仓
summary
[
5
]
=
`
${
toWarehouseData
.
checkNum
}${
this
.
$t
(
'
箱
'
)}
${
toWarehouseData
.
checkWeight
}
KG
${
toWarehouseData
.
checkVolume
}
m³
${
toWarehouseData
.
checkQuantity
}${
this
.
$t
(
'
个
'
)}
`
return
summary
}
}
...
...
@@ -137,28 +144,26 @@ export default {
<el-table-column
:label=
"$t('序号')"
width=
"90px"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prodTitleZh"
:label=
"$t('品名')"
>
<el-table-column
:label=
"$t('品名')"
>
<
template
slot-scope=
"{row}"
>
<span>
{{
getProdTypeName
(
row
.
prodType
)
}}
</span>
<span>
{{
row
.
prodTitleZh
}}
/
{{
row
.
prodTitleEn
}}
</span>
</
template
>
</el-table-column>
<!--<el-table-column prop="prodTitleEn" :label="$t('品名')" />-->
<el-table-column
prop=
"brand"
:label=
"$t('品牌')"
width=
"90px"
>
<el-table-column
:label=
"$t('品牌')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</template>
</el-table-column>
<el-table-column
prop=
"brand"
:label=
"$t('特性')"
width=
"90px"
>
<el-table-column
:label=
"$t('特性')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
showAttrText
(
row
.
warehouseInInfoVO
?
row
.
warehouseInProdAttrIds
:
row
.
prodAttrIds
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"sumNum"
:label=
"$t('入仓
信息')"
width=
"90px"
>
<el-table-column
:label=
"$t('装柜/出货
信息')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<!--
<el-link
type=
"primary"
@
click.native=
"showWarehouseLogs(row,1)"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</el-link>
<div
v-if=
"row.warehouseInInfoVO && row.warehouseInInfoVO.isMultiSpecification"
>
(
{{
$t
(
'
多规格
'
)
}}
)
</div>
-->
<div
v-if=
"row.warehouseInInfoVO"
>
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}{{
$t
(
'
箱
'
)
}}
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
...
...
@@ -167,137 +172,37 @@ export default {
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"warehouseType"
:label=
"$t('类型')"
width=
"120px"
/>
<el-table-column
prop=
"specificationType"
:label=
"$t('包装')"
width=
"120px"
/>
<el-table-column
prop=
"worth"
:label=
"$t('货值')"
width=
"120px"
/>
<el-table-column
prop=
"warehouseRecordRemark"
:label=
"$t('入仓备注')"
width=
"120px"
/>
<el-table-column
prop=
"warehouseInInfoVO.expressNo"
:label=
"$t('快递单号')"
/>
<el-table-column
prop=
"sumNum"
:label=
"$t('收费数据')"
width=
"90px"
>
<el-table-column
prop=
"sumNum"
:label=
"$t('到仓信息')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.warehouseInInfoVO"
>
{{
row
.
chargeWeight
}}
Kg
{{
row
.
chargeVolume
}}
m³
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}{{
$t
(
'
箱
'
)
}}
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
{{
row
.
warehouseInInfoVO
.
quantityAll
}}{{
$t
(
'
个
'
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"`${$t('费用类型')}/${$t('模式')}`"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PAY_ADVANCE"
:value=
"row.isPayAdvance"
/>
<div
v-if=
"row.charging ==0"
>
{{
$t
(
'
运费/清关费
'
)
}}
</div>
<div
v-if=
"row.charging ==1"
>
{{
$t
(
'
全包价
'
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('成交单价')"
width=
"220px"
>
<el-table-column
:label=
"$t('到仓时间')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==1"
>
<template
v-if=
"!row.originalSeaFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
v-else
>
{{$t('全包价')}} {{row.oneSeaFreight}} {{currencyMap[row.seaFreightCurrency]}} / {{unitMap[row.seaFreightVolume]}}
</el-link>
</template>
<
template
v-else-if=
"!row.originalSeaFreight && !row.originalClearanceFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<
template
v-else
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'freight')"
>
{{
$t
(
'
运费
'
)
}}
:
{{
row
.
oneSeaFreight
}}
{{
currencyMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
</el-link>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
>
{{
$t
(
'
清关费
'
)
}}
:
{{
row
.
oneClearanceFreight
}}
{{
currencyMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</el-link
>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('材质')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
:value=
"row.material"
/>
{{
row
.
unloadTime
|
parseTime
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('用途')"
>
<el-table-column
:label=
"$t('异常类型')"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.usageIds"
>
<div
v-for=
"(item,index) in row.usageIds.split(',')"
>
<dict-tag
:type=
"DICT_TYPE.OREER_ITEM_USAGE"
:value=
"item"
/>
<span
v-if=
"(index+1)!=row.usageIds.split(',').length"
>
,
</span>
</div>
<div
v-for=
"(exception, i) in row.itemException"
:key=
"i"
:src=
"row.itemException"
>
<router-link
:to=
"
{
path: '/exception/detail',
query: { id: exception.id }
}"
class="link-type"
>
<span>
{{
exception
.
msg
}}
</span>
</router-link>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('商品链接')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.link"
>
<a
target=
"_blank"
:url=
"row.link"
>
{{
row
.
link
}}
</a>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"sumNum"
:label=
"$t('填单信息')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
num
}}{{
$t
(
'
箱
'
)
}}
{{
row
.
weight
}}
Kg
{{
row
.
volume
}}
m³
{{
row
.
quantity
}}{{
$t
(
'
个
'
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"expressNo"
:label=
"$t('填单快递单号')"
/>
</el-table>
<el-dialog
:title=
"$t('费用详情')"
:visible=
"!!showFeeDetailDialog"
:before-close=
"closeFeeDetail"
>
<el-row
v-if=
"feeDetail"
>
<el-col
:span=
"12"
>
<div>
{{feeDetail.charging ? $t('全包价') : $t('运费')}}
</div>
<div
v-for=
"item in feeDetail.freight"
>
{{item.label}}: {{item.value}}
<
template
v-if=
"item.currency"
>
{{
currencyMap
[
item
.
currency
]
}}
/
{{
unitMap
[
item
.
volume
]
}}
<span
v-if=
"item.remark"
>
【
{{
item
.
remark
}}
】
</span>
</
template
>
</div>
</el-col>
<el-col
:span=
"12"
v-if=
"feeDetail.charging != 1"
>
<div>
{{$t('清关费')}}
<
template
v-if=
"transportId == 3 || transportId == 4"
>
{{
$t
(
'
来自{source
}
'
,
{
source
:
feeDetail
.
airClearanceSource
+
feeDetail
.
sourceName
}
)
}}
<
/template
>
<
/div
>
<
div
v
-
for
=
"
item in feeDetail.clearance
"
>
{{
item
.
label
}}
:
{{
item
.
value
}}
<
template
v
-
if
=
"
item.currency
"
>
{{
currencyMap
[
item
.
currency
]
}}
/
{{
unitMap
[
item
.
volume
]
}}
<
span
v
-
if
=
"
item.remark
"
>
【
{{
item
.
remark
}}
】
<
/span
>
<
/template
>
<
/div
>
<
/el-col
>
<
/el-row
>
<
div
v
-
if
=
"
feeDetail && feeDetail.coupons && feeDetail.coupons.length
"
class
=
"
page-title
"
>
{{
$t
(
'
优惠详情
'
)
}}
<
/div
>
<
el
-
table
v
-
if
=
"
feeDetail && feeDetail.coupons && feeDetail.coupons.length
"
:
data
=
"
feeDetail.coupons
"
>
<
el
-
table
-
column
label
=
"
优惠ID
"
prop
=
"
couponId
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
优惠名称
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
{{
$l
(
row
,
'
title
'
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
类型
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_COUPON_TYPE
"
:
value
=
"
row.type
"
><
/dict-tag
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
运费优惠
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
{{
row
.
freightReduceAmount
}}
{{
currencyMap
[
row
.
freightReduceCurrencyId
]
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
清关费优惠
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
{{
row
.
clearanceReduceAmount
}}
{{
currencyMap
[
row
.
clearanceReduceCurrencyId
]
}}
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-dialog
>
</div>
</template>
src/views/ecw/order/detail.vue
View file @
b223b3c3
...
...
@@ -630,8 +630,9 @@ export default {
}
,
getOrderCheckInfo
(){
let
that
=
this
// 执行查询
getOrderCheckInfo
(
that
.
orderId
).
then
(
response
=>
{
// TODO 待提供执行查询接口
// getOrderCheckInfo(that.orderId).then(response =>
{
getOrderItemDeleted
(
that
.
orderId
).
then
(
response
=>
{
that
.
orderCheckInfoData
=
response
.
data
;
}
);
}
,
...
...
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