Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
7ff311b6
"src/main/webapp/vscode:/vscode.git/clone" did not exist on "a999b999ef6d9963d0d343607dcdea1403f0e6c2"
Commit
7ff311b6
authored
Jun 27, 2020
by
滑稽刘
Committed by
Gitee
Jun 27, 2020
Browse files
添加售后状态显示,添加订单根据id查询
parent
ef91b166
Changes
2
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/mall/aftersale.vue
View file @
7ff311b6
...
...
@@ -67,7 +67,10 @@
<el-tag>
{{ aftersaleDetail.amount }}
</el-tag>
</el-form-item>
<el-form-item
label=
"订单状态"
>
<el-tag>
{{ aftersaleDetail.status }}
</el-tag>
<el-tag
v-if=
"aftersaleDetail.status === 1"
>
已申请,待审核
</el-tag>
<el-tag
v-if=
"aftersaleDetail.status === 2"
>
审核通过,待退款
</el-tag>
<el-tag
v-if=
"aftersaleDetail.status === 3"
>
退款成功
</el-tag>
<el-tag
v-if=
"aftersaleDetail.status === 4"
>
审核不通过,已拒绝
</el-tag>
</el-form-item>
<el-form-item
label=
"订单用户id"
>
<el-tag>
{{ aftersaleDetail.userId }}
</el-tag>
...
...
litemall-admin/src/views/mall/order.vue
View file @
7ff311b6
...
...
@@ -4,6 +4,7 @@
<!-- 查询和其他操作 -->
<div
class=
"filter-container"
>
<el-input
v-model=
"listQuery.userId"
clearable
class=
"filter-item"
style=
"width: 160px;"
placeholder=
"请输入用户ID"
/>
<el-input
v-model=
"listQuery.orderId"
clearable
class=
"filter-item"
style=
"width: 160px;"
placeholder=
"请输入订单ID"
/>
<el-input
v-model=
"listQuery.orderSn"
clearable
class=
"filter-item"
style=
"width: 160px;"
placeholder=
"请输入订单编号"
/>
<el-date-picker
v-model=
"listQuery.timeArray"
type=
"datetimerange"
value-format=
"yyyy-MM-dd HH:mm:ss"
class=
"filter-item"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions"
/>
<el-select
v-model=
"listQuery.orderStatusArray"
multiple
style=
"width: 200px"
class=
"filter-item"
placeholder=
"请选择订单状态"
>
...
...
@@ -190,7 +191,8 @@ export default {
timeArray
:
[],
orderStatusArray
:
[],
sort
:
'
add_time
'
,
order
:
'
desc
'
order
:
'
desc
'
,
orderId
:
undefined
},
pickerOptions
:
{
shortcuts
:
[{
...
...
@@ -256,16 +258,27 @@ export default {
this
.
listQuery
.
start
=
null
this
.
listQuery
.
end
=
null
}
listOrder
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
}).
catch
(()
=>
{
this
.
list
=
[]
this
.
total
=
0
this
.
listLoading
=
false
})
if
(
this
.
listQuery
.
orderId
){
detailOrder
(
this
.
listQuery
.
orderId
).
then
(
response
=>
{
this
.
list
=
[];
this
.
list
.
push
(
response
.
data
.
data
.
order
)
this
.
listLoading
=
false
}).
catch
(()
=>
{
this
.
list
=
[]
this
.
total
=
0
this
.
listLoading
=
false
})
}
else
{
listOrder
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
list
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
}).
catch
(()
=>
{
this
.
list
=
[]
this
.
total
=
0
this
.
listLoading
=
false
})
}
},
getChannel
()
{
listChannel
().
then
(
response
=>
{
...
...
Write
Preview
Supports
Markdown
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