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
69ec80f1
Commit
69ec80f1
authored
Oct 31, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 退货退款新增查看物流操作
parent
50308ff2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
39 deletions
+6
-39
LogisticsRecordModal.jsx
...pages/AfterSaleManage/components/LogisticsRecordModal.jsx
+0
-39
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+6
-0
No files found.
src/pages/AfterSaleManage/components/LogisticsRecordModal.jsx
View file @
69ec80f1
...
@@ -77,42 +77,3 @@ const LogisticsRecordModal = (props, ref) => {
...
@@ -77,42 +77,3 @@ const LogisticsRecordModal = (props, ref) => {
};
};
export
default
forwardRef
(
LogisticsRecordModal
);
export
default
forwardRef
(
LogisticsRecordModal
);
const
LogisticsCom
=
props
=>
{
const
{
modalVisible
,
onCancel
}
=
props
;
const
[
result
,
setResult
]
=
useState
({});
useEffect
(()
=>
{
setResult
(
props
.
value
);
});
return
(
<
Modal
destroyOnClose
title=
{
`${
result?.expressCompanyName
? `
$
{
result
?.
expressCompanyName
}
-
$
{
result
?.
deliveryNo
}
`
: '物流信息'
}`
}
visible=
{
modalVisible
}
onCancel=
{
()
=>
onCancel
()
}
onOk=
{
()
=>
onCancel
()
}
afterClose=
{
()
=>
setResult
({})
}
bodyStyle=
{
{
maxHeight
:
'
600px
'
,
minHeight
:
'
200px
'
,
overflow
:
'
auto
'
}
}
footer=
{
[]
}
>
{
result
?.
detailList
?.
length
?
(
<
Timeline
>
{
result
?.
detailList
?.
map
((
item
,
index
)
=>
(
// eslint-disable-next-line react/no-array-index-key
<
Timeline
.
Item
color=
{
index
>
0
?
'
gray
'
:
'
blue
'
}
key=
{
index
}
>
<
p
>
{
item
.
desc
}
</
p
>
<
p
>
{
item
.
logisticsTime
}
</
p
>
</
Timeline
.
Item
>
))
}
</
Timeline
>
)
:
(
'
暂无物流信息
'
)
}
</
Modal
>
);
};
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
69ec80f1
...
@@ -130,6 +130,7 @@ const AuditModal = props => {
...
@@ -130,6 +130,7 @@ const AuditModal = props => {
,请务必检查此单物流状态后审核。
<
a
onClick=
{
openLogisticsRecord
}
>
查看物流
</
a
>
,请务必检查此单物流状态后审核。
<
a
onClick=
{
openLogisticsRecord
}
>
查看物流
</
a
>
</
div
>
</
div
>
)
}
)
}
<
Form
{
...
layout
}
name=
"formData"
>
<
Form
{
...
layout
}
name=
"formData"
>
<
FormItem
label=
"审核结果"
>
<
FormItem
label=
"审核结果"
>
{
getFieldDecorator
(
'
auditResult
'
,
{
{
getFieldDecorator
(
'
auditResult
'
,
{
...
@@ -243,6 +244,11 @@ const AuditModal = props => {
...
@@ -243,6 +244,11 @@ const AuditModal = props => {
</
FormItem
>
</
FormItem
>
)
}
)
}
</
Form
>
</
Form
>
{
+
formData
.
serviceType
===
2
&&
(
<
div
align=
"right"
style=
{
{
paddingRight
:
'
42px
'
,
marginTop
:
'
-25px
'
}
}
>
<
a
onClick=
{
openLogisticsRecord
}
>
查看物流
</
a
>
</
div
>
)
}
</
Modal
>
</
Modal
>
<
LogisticsRecordModal
ref=
{
logisticsRecordModalRef
}
/>
<
LogisticsRecordModal
ref=
{
logisticsRecordModalRef
}
/>
</>
</>
...
...
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