Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
hooloo
web
soss
Commits
b57f360d
Commit
b57f360d
authored
Jun 01, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户详情
parent
134d966d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
src/views/customer/orderTable.vue
+25
-8
No files found.
src/views/customer/orderTable.vue
View file @
b57f360d
<
template
>
<div>
<el-table
v-loading=
"orderLoading"
:data=
"orderList"
>
<el-table-column
label=
"订单编号"
align=
"center"
prop=
"orderNo"
></el-table-column>
<el-table-column
label=
"订单编号"
align=
"center"
prop=
"orderNo"
>
<template
slot-scope=
"scope"
>
<a
@
click=
"handleUpdate(scope.row)"
style=
"color: blue"
>
{{
scope
.
row
.
orderNo
}}
</a>
</
template
>
</el-table-column>
<el-table-column
label=
"商品数量"
align=
"center"
prop=
"goodsNum"
/>
<el-table-column
label=
"金额"
align=
"center"
prop=
"amount"
/>
<el-table-column
label=
"城市"
align=
"center"
prop=
""
/>
...
...
@@ -18,10 +22,14 @@
:limit
.
sync=
"pageSize"
@
pagination=
"getList"
/>
<!-- 详情对话框 -->
<OrderDetial
ref=
"orderDetial"
></OrderDetial>
</div>
</template>
<
script
>
import
OrderDetial
from
'@/components/order/orderDetial.vue'
;
export
default
{
components
:
{
OrderDetial
},
name
:
"orderTable"
,
props
:
[
'orderList'
,
'orderTotal'
,
'orderLoading'
],
data
()
{
...
...
@@ -50,23 +58,31 @@ export default {
}
else
if
(
state
==
6
){
return
"正常完成"
;
}
else
if
(
state
==
7
){
return
"
未支付取消
"
;
return
"
待取超时
"
;
}
else
if
(
state
==
8
){
return
"
支付后制作前
取消"
;
return
"
未支付
取消"
;
}
else
if
(
state
==
9
){
return
"
制作中取消
"
;
return
"
支付后制作前取消
"
;
}
else
if
(
state
==
10
){
return
"制作
完成
取消"
;
return
"制作
中
取消"
;
}
else
if
(
state
==
11
){
return
"
已退款
"
;
return
"
制作完成取消
"
;
}
else
if
(
state
==
12
){
return
"
部分退款
"
;
return
"
退款中
"
;
}
else
if
(
state
==
13
){
return
"待取超时"
;
return
"退款失败"
;
}
else
if
(
state
==
14
){
return
"部分退款"
;
}
else
if
(
state
==
15
){
return
"已退款"
;
}
else
if
(
state
==
50
){
return
"其他人工干预状态"
;
}
},
/** 详情按钮操作 */
handleUpdate
(
row
)
{
this
.
$refs
.
orderDetial
.
handleUpdate
(
row
);
}
}
}
</
script
>
\ No newline at end of file
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