Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 d0e9a730
authored
Mar 15, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单按钮修改判断 ,退款:showRefund&核销:showVerf
1 parent
917f877f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/views/orderManage/index.vue
src/views/orderManage/index.vue
View file @
d0e9a73
...
...
@@ -760,7 +760,8 @@ export default {
fn
:
'退款'
},
condition
:
row
=>
{
return
row
.
orderSource
==
4
&&
[
2
,
6
,
21
,
22
].
includes
(
+
row
.
orderStatus
)
&&
row
.
isOffline
!=
0
// return row.orderSource == 4 && [2, 6, 21, 22].includes(+row.orderStatus) && row.isOffline != 0
return
row
.
showRefund
==
1
//是否展示退款按钮 1:是 0:否
},
listeners
:
{
click
:
row
=>
{
...
...
@@ -782,7 +783,8 @@ export default {
fn
:
'订单核销'
},
condition
:
row
=>
{
return
(
row
.
deliveryType
==
1
&&
row
.
orderStatus
==
21
)
||
(
row
.
afterSaleType
==
2
&&
[
2
,
4
,
5
,
6
,
7
,
9
,
10
].
includes
(
row
.
orderStatus
))
// return (row.deliveryType == 1 && row.orderStatus == 21) || (row.afterSaleType == 2 && [2, 4, 5, 6, 7, 9, 10].includes(row.orderStatus))
return
row
.
showVerf
==
1
//是否展示核销按钮 1:是 0:否
},
listeners
:
{
click
:
this
.
handleWriteOff
...
...
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