Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ed5ca009
authored
Jan 11, 2022
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单管理-状态按钮
1 parent
f0c8cae9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
src/common/constant.js
src/views/orderManage/index.vue
src/common/constant.js
View file @
ed5ca00
...
@@ -79,12 +79,13 @@ function exportFn(url) {
...
@@ -79,12 +79,13 @@ function exportFn(url) {
const
orderManageStatusList
=
[
const
orderManageStatusList
=
[
{
confId
:
'1'
,
confName
:
'待付款'
},
{
confId
:
'1'
,
confName
:
'待付款'
},
{
confId
:
'2'
,
confName
:
'已支付'
},
{
confId
:
'3'
,
confName
:
'已失效'
},
{
confId
:
'3'
,
confName
:
'已失效'
},
{
confId
:
'
4
'
,
confName
:
'待收货(待核销)'
},
{
confId
:
'
21
'
,
confName
:
'待收货(待核销)'
},
{
confId
:
'
5
'
,
confName
:
'已收货(已核销)'
},
{
confId
:
'
22
'
,
confName
:
'已收货(已核销)'
},
{
confId
:
'6'
,
confName
:
'待发货'
},
{
confId
:
'6'
,
confName
:
'待发货'
},
{
confId
:
'7'
,
confName
:
'待核销'
},
//
{ confId: '7', confName: '待核销' },
{
confId
:
'8'
,
confName
:
'已核销'
},
//
{ confId: '8', confName: '已核销' },
{
confId
:
'9'
,
confName
:
'售后中'
},
{
confId
:
'9'
,
confName
:
'售后中'
},
{
confId
:
'10'
,
confName
:
'售后完成'
}
{
confId
:
'10'
,
confName
:
'售后完成'
}
]
]
...
...
src/views/orderManage/index.vue
View file @
ed5ca00
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看订单
</el-button>
-->
<!--
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看订单
</el-button>
-->
<GLButton
type=
"text"
fn=
"查看订单"
@
click=
"handleDetail(scope.scope)"
>
查看订单
</GLButton>
<GLButton
type=
"text"
fn=
"查看订单"
@
click=
"handleDetail(scope.scope)"
>
查看订单
</GLButton>
<el-button
v-if=
"scope.scope.deliveryType == 1 && scope.scope.orderStatus ==
4
"
type=
"text"
@
click=
"handleWriteOff(scope.scope)"
>
订单核销
</el-button>
<el-button
v-if=
"scope.scope.deliveryType == 1 && scope.scope.orderStatus ==
21
"
type=
"text"
@
click=
"handleWriteOff(scope.scope)"
>
订单核销
</el-button>
<el-button
v-if=
"scope.scope.deliveryType == 2 && scope.scope.orderStatus == 6"
type=
"text"
@
click=
"handleExpressInfo(scope.scope)"
>
输入快递信息
</el-button>
<el-button
v-if=
"scope.scope.deliveryType == 2 && scope.scope.orderStatus == 6"
type=
"text"
@
click=
"handleExpressInfo(scope.scope)"
>
输入快递信息
</el-button>
<el-button
v-if=
"scope.scope.afterSaleStatus == 1"
type=
"text"
@
click=
"handleExamine(scope.scope)"
>
退款审核
</el-button>
<el-button
v-if=
"scope.scope.afterSaleStatus == 1"
type=
"text"
@
click=
"handleExamine(scope.scope)"
>
退款审核
</el-button>
<el-button
v-if=
"scope.scope.afterSaleStatus == 4"
type=
"text"
@
click=
"handleReceiving(scope.scope)"
>
确认收货
</el-button>
<el-button
v-if=
"scope.scope.afterSaleStatus == 4"
type=
"text"
@
click=
"handleReceiving(scope.scope)"
>
确认收货
</el-button>
...
@@ -414,7 +414,7 @@ export default {
...
@@ -414,7 +414,7 @@ export default {
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
// 基本数据
// 基本数据
baseData
:
{
baseData
:
{
searchOrderStatusList
:
orderManageStatusList
.
filter
(
item
=>
[
'1'
,
'3'
,
'
4'
,
'5
'
,
'6'
,
'9'
].
includes
(
item
.
confId
)),
searchOrderStatusList
:
orderManageStatusList
.
filter
(
item
=>
[
'1'
,
'3'
,
'
21'
,
'22
'
,
'6'
,
'9'
].
includes
(
item
.
confId
)),
searchAfterSaleStatusList
:
afterSaleStatusList
.
filter
(
item
=>
[
'1'
,
'6'
,
'7'
].
includes
(
item
.
confId
)),
searchAfterSaleStatusList
:
afterSaleStatusList
.
filter
(
item
=>
[
'1'
,
'6'
,
'7'
].
includes
(
item
.
confId
)),
orderStatusList
:
orderManageStatusList
,
orderStatusList
:
orderManageStatusList
,
afterSaleStatusList
:
afterSaleStatusList
,
afterSaleStatusList
:
afterSaleStatusList
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment