Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
1a04ac87
Commit
1a04ac87
authored
Aug 25, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 售后订单管理-服务订单隐藏物流相关按钮
parent
6e2fbf1b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
58 deletions
+74
-58
index.jsx
src/pages/AfterSaleManage/PassAudit/index.jsx
+46
-38
index.jsx
src/pages/AfterSaleManage/Pending/index.jsx
+27
-19
index.jsx
src/pages/orderManage/queryOrder/index.jsx
+1
-1
No files found.
src/pages/AfterSaleManage/PassAudit/index.jsx
View file @
1a04ac87
...
...
@@ -125,7 +125,8 @@ export default () => {
width
:
300
,
dataIndex
:
'
action
'
,
fixed
:
'
right
'
,
render
:
(
_
,
r
)
=>
[
render
:
(
_
,
r
)
=>
{
const
operations
=
[
<
Popconfirm
title=
"确定允许退款?"
onConfirm=
{
()
=>
refund
(
r
)
}
...
...
@@ -162,7 +163,14 @@ export default () => {
<
Button
className=
"mr10 mt10"
type=
"primary"
onClick=
{
()
=>
viewLog
(
r
)
}
>
查看记录
</
Button
>,
],
];
// 服务订单删除物流拦截
if
(
!
[
'
vip
'
,
'
self
'
].
includes
(
r
.
supplierType
))
{
operations
.
splice
(
3
,
1
);
}
return
operations
;
},
},
];
return
(
...
...
src/pages/AfterSaleManage/Pending/index.jsx
View file @
1a04ac87
...
...
@@ -178,14 +178,15 @@ export default () => {
dataIndex
:
'
action
'
,
width
:
250
,
fixed
:
'
right
'
,
render
:
(
val
,
r
)
=>
[
<
Button
key=
"link1"
onClick=
{
()
=>
openAudit
(
r
)
}
className=
"mr10"
type=
"primary"
>
render
:
(
val
,
r
)
=>
{
const
operations
=
[
<
Button
key=
"link1"
onClick=
{
()
=>
openAudit
(
r
)
}
className=
"mr10 mt10"
type=
"primary"
>
审核
</
Button
>,
<
Button
disabled=
{
r
.
serviceType
!==
1
||
(
r
.
serviceType
===
1
&&
r
.
intercept
)
}
onClick=
{
()
=>
openLogistics
(
r
)
}
className=
"mr
10"
className=
"mr10 mt
10"
type=
"primary"
>
物流拦截
...
...
@@ -193,10 +194,17 @@ export default () => {
<
Button
className=
"mr10 mt10"
key=
"link"
onClick=
{
()
=>
viewDetail
(
r
)
}
type=
"primary"
>
订单详情
</
Button
>,
<
Button
type=
"primary"
onClick=
{
()
=>
viewLog
(
r
)
}
>
<
Button
className=
"mr10 mt10"
type=
"primary"
onClick=
{
()
=>
viewLog
(
r
)
}
>
查看记录
</
Button
>,
],
];
// 服务订单删除物流拦截
if
(
!
[
'
vip
'
,
'
self
'
].
includes
(
r
.
supplierType
))
{
operations
.
splice
(
1
,
1
);
}
return
operations
;
},
},
];
return
(
...
...
src/pages/orderManage/queryOrder/index.jsx
View file @
1a04ac87
...
...
@@ -281,7 +281,7 @@ const OrderList = ref => {
</
div
>
));
}
return
'
-
'
;
return
<
div
align=
"center"
>
-
</
div
>
;
},
},
{
...
...
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