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
2b3006ab
Commit
2b3006ab
authored
Nov 22, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 查询物流新增skuNo参数
parent
b2cac278
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
14 deletions
+9
-14
LogisticsRecordModal.jsx
...pages/AfterSaleManage/components/LogisticsRecordModal.jsx
+4
-8
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+1
-2
index.jsx
src/pages/AfterSaleManage/index.jsx
+4
-4
No files found.
src/pages/AfterSaleManage/components/LogisticsRecordModal.jsx
View file @
2b3006ab
...
@@ -12,13 +12,9 @@ const LogisticsRecordModal = (props, ref) => {
...
@@ -12,13 +12,9 @@ const LogisticsRecordModal = (props, ref) => {
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
dataList
,
setDataList
]
=
useState
([]);
const
[
dataList
,
setDataList
]
=
useState
([]);
const
getRecordList
=
async
orderNo
=>
{
const
getRecordList
=
async
({
orderNo
,
skuNo
})
=>
{
const
tempObj
=
{
detailList
:
[],
key
:
Date
.
now
(),
};
setLoading
(
true
);
setLoading
(
true
);
const
res
=
await
apiDeliveriesTraceList
({
orderNo
});
const
res
=
await
apiDeliveriesTraceList
({
orderNo
,
skuNo
});
setLoading
(
false
);
setLoading
(
false
);
if
(
!
res
)
{
if
(
!
res
)
{
notification
.
info
({
message
:
'
暂无物流信息
'
});
notification
.
info
({
message
:
'
暂无物流信息
'
});
...
@@ -28,9 +24,9 @@ const LogisticsRecordModal = (props, ref) => {
...
@@ -28,9 +24,9 @@ const LogisticsRecordModal = (props, ref) => {
setDataList
(
res
.
data
);
setDataList
(
res
.
data
);
};
};
const
open
=
orderNo
=>
{
const
open
=
record
=>
{
setVisible
(
true
);
setVisible
(
true
);
getRecordList
(
orderNo
);
getRecordList
(
record
);
};
};
const
onCancel
=
()
=>
{
const
onCancel
=
()
=>
{
setVisible
(
false
);
setVisible
(
false
);
...
...
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
2b3006ab
...
@@ -105,8 +105,7 @@ const AuditModal = props => {
...
@@ -105,8 +105,7 @@ const AuditModal = props => {
};
};
const
openLogisticsRecord
=
()
=>
{
const
openLogisticsRecord
=
()
=>
{
console
.
log
(
formData
);
logisticsRecordModalRef
.
current
.
open
(
formData
);
logisticsRecordModalRef
.
current
.
open
(
formData
.
orderNo
);
};
};
const
layout
=
{
const
layout
=
{
...
...
src/pages/AfterSaleManage/index.jsx
View file @
2b3006ab
...
@@ -127,15 +127,15 @@ const AfterSale = props => {
...
@@ -127,15 +127,15 @@ const AfterSale = props => {
};
};
// 审核
// 审核
const
openAudit
=
async
({
serviceNo
,
serviceType
,
orderNo
})
=>
{
const
openAudit
=
async
({
serviceNo
,
serviceType
,
orderNo
,
skuNo
})
=>
{
const
data
=
await
auditInfoApi
({
serviceNo
});
const
data
=
await
auditInfoApi
({
serviceNo
});
setAuditInfo
({
...
data
?.
data
,
serviceNo
,
serviceType
,
orderNo
});
setAuditInfo
({
...
data
?.
data
,
serviceNo
,
serviceType
,
orderNo
,
skuNo
});
setVisible
(
true
);
setVisible
(
true
);
};
};
// 查看物流
// 查看物流
const
handleCom
=
async
({
orderNo
})
=>
{
const
handleCom
=
async
({
orderNo
,
skuNo
})
=>
{
logisticsRecordModalRef
.
current
.
open
(
orderNo
);
logisticsRecordModalRef
.
current
.
open
(
{
orderNo
,
skuNo
}
);
// const tempObj = {
// const tempObj = {
// detailList: [],
// detailList: [],
// key: Date.now(),
// key: Date.now(),
...
...
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