Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-store
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 13a35cf0
authored
Oct 18, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
97c9b93c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
src/views/orderManage/index.vue
src/views/orderManage/index.vue
View file @
13a35cf
...
@@ -347,9 +347,7 @@ export default {
...
@@ -347,9 +347,7 @@ export default {
},
},
condition
:
row
=>
{
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
&&
row
.
orderSource
!==
6
&&
(
row
.
orderSource
==
7
&&
!!
row
.
orderGoods
.
find
((
goods
)
=>
{
return
row
.
showRefund
==
1
&&
row
.
orderSource
!==
6
//是否展示退款按钮 1:是 0:否
return
goods
.
discoverGoodsSource
==
2
;
}))
//是否展示退款按钮 1:是 0:否
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
...
@@ -384,9 +382,7 @@ export default {
...
@@ -384,9 +382,7 @@ export default {
},
},
condition
:
row
=>
{
condition
:
row
=>
{
// return row.deliveryType == 1 && row.orderStatus == 21
// return row.deliveryType == 1 && row.orderStatus == 21
return
row
.
showVerf
==
1
&&
row
.
orderSource
!==
6
&&
(
row
.
orderSource
==
7
&&
!!
row
.
orderGoods
.
find
((
goods
)
=>
{
return
row
.
showVerf
==
1
&&
row
.
orderSource
!==
6
//是否展示核销按钮 1:是 0:否
return
goods
.
discoverGoodsSource
==
2
;
}))
//是否展示核销按钮 1:是 0:否
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleWriteOff
click
:
this
.
handleWriteOff
...
@@ -401,9 +397,7 @@ export default {
...
@@ -401,9 +397,7 @@ export default {
fn
:
'商品发货'
fn
:
'商品发货'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
(
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
&&
row
.
orderSource
!==
6
&&
(
row
.
orderSource
==
7
&&
!!
row
.
orderGoods
.
find
((
goods
)
=>
{
return
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
&&
row
.
orderSource
!==
6
return
goods
.
discoverGoodsSource
==
2
;
})))
||
(
row
.
orderSource
==
7
&&
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
&&
row
.
orderGoods
[
0
].
discoverGoodsSource
==
2
)
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleExpressInfo
click
:
this
.
handleExpressInfo
...
@@ -417,9 +411,7 @@ export default {
...
@@ -417,9 +411,7 @@ export default {
fn
:
'退款审核'
fn
:
'退款审核'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
row
.
afterSaleStatus
==
1
&&
row
.
orderSource
!==
6
&&
(
row
.
orderSource
==
7
&&
!!
row
.
orderGoods
.
find
((
goods
)
=>
{
return
row
.
afterSaleStatus
==
1
&&
row
.
orderSource
!==
6
return
goods
.
discoverGoodsSource
==
2
;
}))
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleExamine
click
:
this
.
handleExamine
...
@@ -432,9 +424,7 @@ export default {
...
@@ -432,9 +424,7 @@ export default {
type
:
'text'
type
:
'text'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
row
.
afterSaleStatus
==
4
&&
row
.
orderSource
!==
6
&&
(
row
.
orderSource
==
7
&&
!!
row
.
orderGoods
.
find
((
goods
)
=>
{
return
row
.
afterSaleStatus
==
4
&&
row
.
orderSource
!==
6
return
goods
.
discoverGoodsSource
==
2
;
}))
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleReceiving
click
:
this
.
handleReceiving
...
...
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