Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
6b750218
提交
6b750218
authored
9月 29, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev_hxz' into test
上级
7d4a61b5
c372f983
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
46 行增加
和
0 行删除
+46
-0
edit.vue
src/views/system/retreat/edit.vue
+46
-0
没有找到文件。
src/views/system/retreat/edit.vue
浏览文件 @
6b750218
...
@@ -88,6 +88,35 @@
...
@@ -88,6 +88,35 @@
</el-row>
</el-row>
</div>
</div>
</div>
</div>
<!-- 买家退货凭证 -->
<div
v-if=
"asOrderType == 2"
>
<div
class=
"card-header-title"
>
<span
class=
"blue-block blue-block-goods-title"
></span>
买家退货凭证
</div>
<el-table
:data=
"returnInfoTableData"
>
<el-table-column
label=
"物流单号"
align=
"center"
prop=
"express_sn"
></el-table-column>
<el-table-column
label=
"物流公司"
align=
"center"
prop=
"express_company_name"
></el-table-column>
<el-table-column
label=
"物流凭证"
align=
"center"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.imgs"
>
<el-image
style=
"width: 70px; height: 70px;border:1px solid #eee;margin-right:10px;"
v-for=
"(itemSrc,index) in returnInofImgList(scope.row.imgs)"
:src=
"itemSrc"
:preview-src-list=
"returnInofImgList(scope.row.imgs)"
>
</el-image>
</div>
<p
v-else
style=
"color:#666"
>
-
</p>
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
description
?
scope
.
row
.
description
:
'-'
}}
</
template
>
</el-table-column>
</el-table>
</div>
<!-- 历史售后申请 -->
<!-- 历史售后申请 -->
<div>
<div>
<div
class=
"card-header-title"
>
<div
class=
"card-header-title"
>
...
@@ -254,6 +283,10 @@
...
@@ -254,6 +283,10 @@
// 售后申请 图片 list
// 售后申请 图片 list
asSrcList
:
[],
asSrcList
:
[],
asApplyList
:
[],
asApplyList
:
[],
// 退款凭证
returnInfoTableData
:
[],
// 退款凭证 图片
// returnInofImgList: [],
// 0-全部隐藏-默认状态; 1-显示 仅退款 按钮;2-显示 退货退款中(同意/拒绝 退货退款)按钮; 3-显示 退货退款中 (拒收包裹 / 确定退款) 按钮
// 0-全部隐藏-默认状态; 1-显示 仅退款 按钮;2-显示 退货退款中(同意/拒绝 退货退款)按钮; 3-显示 退货退款中 (拒收包裹 / 确定退款) 按钮
onlyOrRefundBtnType
:
0
,
onlyOrRefundBtnType
:
0
,
// 1-仅退款 同意退款; 2-仅退款 拒绝退款; 3-退货退款 同意退款退款; 4-; 5-
// 1-仅退款 同意退款; 2-仅退款 拒绝退款; 3-退货退款 同意退款退款; 4-; 5-
...
@@ -290,6 +323,13 @@
...
@@ -290,6 +323,13 @@
},
},
methods
:
{
methods
:
{
returnInofImgList
(
imgsStr
)
{
let
imgList
=
[];
if
(
imgsStr
)
{
imgList
=
[...
imgsStr
]
}
return
imgList
},
/** Only 代表 仅退款
/** Only 代表 仅退款
* 售后步骤和对应文案提示,
* 售后步骤和对应文案提示,
* 在售后订单详情 查询时,需要同步调用
* 在售后订单详情 查询时,需要同步调用
...
@@ -432,6 +472,7 @@
...
@@ -432,6 +472,7 @@
// 金额处理
// 金额处理
this
.
asOrderDetail
.
apply_price
=
this
.
asOrderDetail
.
apply_price
/
100
this
.
asOrderDetail
.
apply_price
=
this
.
asOrderDetail
.
apply_price
/
100
this
.
asOrderDetail
.
price
=
this
.
asOrderDetail
.
price
/
100
this
.
asOrderDetail
.
price
=
this
.
asOrderDetail
.
price
/
100
// 售后图片 处理
// 售后图片 处理
this
.
asSrcList
=
[]
this
.
asSrcList
=
[]
if
(
this
.
asOrderDetail
.
imgs_arr
&&
this
.
asOrderDetail
.
imgs_arr
.
length
>
0
)
{
if
(
this
.
asOrderDetail
.
imgs_arr
&&
this
.
asOrderDetail
.
imgs_arr
.
length
>
0
)
{
...
@@ -446,6 +487,11 @@
...
@@ -446,6 +487,11 @@
}
}
// 退货退款
// 退货退款
if
(
this
.
asOrderDetail
.
refund_type
==
2
)
{
if
(
this
.
asOrderDetail
.
refund_type
==
2
)
{
// 退款凭证 list 数据
this
.
returnInfoTableData
=
[];
if
(
this
.
asOrderDetail
.
return_inof
&&
this
.
asOrderDetail
.
return_inof
.
length
>
0
)
{
this
.
returnInfoTableData
=
this
.
asOrderDetail
.
return_inof
}
this
.
returnRefundStatus
(
this
.
asOrderDetail
.
status
,
this
.
asOrderDetail
.
close_reason
);
this
.
returnRefundStatus
(
this
.
asOrderDetail
.
status
,
this
.
asOrderDetail
.
close_reason
);
this
.
$forceUpdate
()
this
.
$forceUpdate
()
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论