Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
a5cf98a8
提交
a5cf98a8
authored
7月 28, 2021
作者:
王天霸
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
11
上级
4c8c8b61
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
51 行增加
和
11 行删除
+51
-11
retreat.js
src/api/module/retreat.js
+1
-1
index.vue
src/views/system/retreat/retreat/index.vue
+50
-10
没有找到文件。
src/api/module/retreat.js
浏览文件 @
a5cf98a8
...
@@ -12,7 +12,7 @@ export function listRetreat(query) {
...
@@ -12,7 +12,7 @@ export function listRetreat(query) {
// 查询retreat详细
// 查询retreat详细
export
function
getRetreat
(
id
)
{
export
function
getRetreat
(
id
)
{
return
request
({
return
request
({
url
:
'/system/retreat/edit?
id
='
+
id
,
url
:
'/system/retreat/edit?
order_refund_sn
='
+
id
,
method
:
'get'
method
:
'get'
})
})
}
}
...
...
src/views/system/retreat/retreat/index.vue
浏览文件 @
a5cf98a8
...
@@ -63,15 +63,52 @@
...
@@ -63,15 +63,52 @@
</el-form>
</el-form>
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"retreatList"
:height=
"tableHeight"
>
<el-table
v-loading=
"loading"
:data=
"retreatList"
:height=
"tableHeight"
>
<el-table-column
label=
"序号"
align=
"center"
prop=
"
I
d"
/>
<el-table-column
label=
"序号"
align=
"center"
prop=
"
i
d"
/>
<el-table-column
label=
"商品名称"
align=
"center"
prop=
"
GoodsNam
e"
/>
<el-table-column
label=
"商品名称"
align=
"center"
prop=
"
goods_titl
e"
/>
<el-table-column
label=
"订单号"
align=
"center"
prop=
"
OrderS
n"
/>
<el-table-column
label=
"订单号"
align=
"center"
prop=
"
refund_s
n"
/>
<el-table-column
label=
"订单手机号"
align=
"center"
prop=
"UPhone"
/>
<el-table-column
label=
"订单手机号"
align=
"center"
prop=
"UPhone"
/>
<el-table-column
label=
"退换货原因"
align=
"center"
prop=
"NeedMsg"
/>
<el-table-column
label=
"退换货原因"
align=
"center"
prop=
"reason"
>
<el-table-column
label=
"退换货类型"
align=
"center"
prop=
"UserNeed"
/>
<template
slot-scope=
"scope"
>
<el-table-column
label=
"处理状态"
align=
"center"
prop=
"ProcessDes"
/>
<span
v-if=
"scope.row.reason==1"
>
协商一致退款
</span>
<el-table-column
label=
"到期时间"
align=
"center"
prop=
"TaskEndtime"
/>
<span
v-if=
"scope.row.reason==2"
>
质量问题
</span>
<el-table-column
label=
"申请时间"
align=
"center"
prop=
"Addtime"
/>
<span
v-if=
"scope.row.reason==3"
>
物流问题
</span>
<span
v-if=
"scope.row.reason==4"
>
假冒品牌
</span>
<span
v-if=
"scope.row.reason==5"
>
少件/漏发/破损/污渍
</span>
<span
v-if=
"scope.row.reason==6"
>
7天无理由
</span>
<span
v-if=
"scope.row.reason==7"
>
拍错/多拍/不想要
</span>
<span
v-if=
"scope.row.reason==8"
>
其他
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"退换货类型"
align=
"center"
prop=
"refund_type"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.refund_type==1"
>
退款
</span>
<span
v-if=
"scope.row.refund_type==2"
>
退货
</span>
<span
v-if=
"scope.row.refund_type==3"
>
换货
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"处理状态"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.reason==-1"
>
关闭
</span>
<span
v-if=
"scope.row.reason==1"
>
用户取消
</span>
<span
v-if=
"scope.row.reason==2"
>
待审核
</span>
<span
v-if=
"scope.row.reason==3"
>
驳回
</span>
<span
v-if=
"scope.row.reason==4"
>
待退货
</span>
<span
v-if=
"scope.row.reason==5"
>
待收货
</span>
<span
v-if=
"scope.row.reason==6"
>
重新发货
</span>
<span
v-if=
"scope.row.reason==7"
>
重新收货
</span>
<span
v-if=
"scope.row.reason==8"
>
待打款
</span>
<span
v-if=
"scope.row.reason==9"
>
已完成
</span>
</
template
>
</el-table-column>
<!-- <el-table-column label="到期时间" align="center" prop="TaskEndtime"/> -->
<el-table-column
label=
"申请时间"
align=
"center"
prop=
"created_time"
>
<
template
slot-scope=
"scope"
>
{{
formatter
(
scope
.
row
.
created_time
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -334,7 +371,7 @@
...
@@ -334,7 +371,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
listRetreat
,
getRetreat
,
retreatSubmit
,
getSearchParams
}
from
'@/api/module/retreat'
import
{
listRetreat
,
getRetreat
,
retreatSubmit
,
getSearchParams
}
from
'@/api/module/retreat'
import
{
dateFormat
}
from
'@/utils'
export
default
{
export
default
{
name
:
"retreat"
,
name
:
"retreat"
,
data
()
{
data
()
{
...
@@ -492,6 +529,9 @@
...
@@ -492,6 +529,9 @@
}
}
},
},
methods
:
{
methods
:
{
formatter
(
time
)
{
return
dateFormat
(
time
,
'Y-m-d H:i:s'
)
},
getParams
()
{
getParams
()
{
getSearchParams
().
then
(
res
=>
{
getSearchParams
().
then
(
res
=>
{
if
(
res
.
userNeed
&&
res
.
userNeed
.
length
>
0
)
{
if
(
res
.
userNeed
&&
res
.
userNeed
.
length
>
0
)
{
...
@@ -721,7 +761,7 @@
...
@@ -721,7 +761,7 @@
handleInfo
(
row
)
{
handleInfo
(
row
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
// this.reset();
// this.reset();
const
id
=
row
.
Id
const
id
=
row
.
refund_sn
getRetreat
(
id
).
then
(
response
=>
{
getRetreat
(
id
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
//console.log("000", response.data)
//console.log("000", response.data)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论