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
2389e6ce
Commit
2389e6ce
authored
Jun 02, 2022
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 2.1开发
parent
ca5f30a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
+19
-8
index.jsx
src/pages/AfterSaleManage/Pending/index.jsx
+8
-5
data.js
src/pages/AfterSaleManage/data.js
+3
-3
services.js
src/pages/AfterSaleManage/services.js
+8
-0
No files found.
src/pages/AfterSaleManage/Pending/index.jsx
View file @
2389e6ce
...
...
@@ -3,7 +3,7 @@ import { notification, Button, Popconfirm } from 'antd';
import
ProTable
from
'
@ant-design/pro-table
'
;
import
moment
from
'
moment
'
;
import
_
from
'
lodash
'
;
import
{
searchList
,
auditInfoApi
,
orderDetail
}
from
'
../services
'
;
import
{
searchList
,
auditInfoApi
,
orderDetail
,
logisticsIntercept
}
from
'
../services
'
;
import
{
columnSticData
,
appealType
}
from
'
../data
'
;
import
AuditModal
from
'
../components/auditModal
'
;
import
DetailTable
from
'
../components/detailTable
'
;
...
...
@@ -91,10 +91,13 @@ export default () => {
},
1000
);
}
};
const
logistics
=
info
=>
{
console
.
log
(
info
);
// eslint-disable-next-line no-unused-expressions
table
.
current
?.
reload
?.();
const
logistics
=
async
info
=>
{
const
[
data
]
=
await
logisticsIntercept
({
serviceNo
:
info
.
serviceNo
});
if
(
data
)
{
notification
.
success
({
message
:
'
操作成功
'
});
// eslint-disable-next-line no-unused-expressions
table
.
current
?.
reload
?.();
}
};
const
recordDetail
=
()
=>
{
setRecordVisible
(
true
);
...
...
src/pages/AfterSaleManage/data.js
View file @
2389e6ce
...
...
@@ -56,11 +56,11 @@ export const columnSticData = [
},
{
title
:
'
售后类型
'
,
dataIndex
:
'
dealStatus1
'
,
dataIndex
:
'
serviceType
'
,
hideInTable
:
true
,
valueEnum
:
{
0
:
'
仅退款
'
,
10
:
'
退货退款
'
,
1
:
'
仅退款
'
,
2
:
'
退货退款
'
,
},
},
{
...
...
src/pages/AfterSaleManage/services.js
View file @
2389e6ce
...
...
@@ -82,3 +82,11 @@ export async function trackInfo(params) {
}
return
{};
}
// 商户操作物流拦截
export
async
function
logisticsIntercept
(
params
)
{
return
request
.
get
(
'
/api/kdsp/op/afs/shop/logisticsIntercept
'
,
{
params
,
prefix
:
kdspApi
,
});
}
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