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
ba135c72
Commit
ba135c72
authored
Jun 17, 2022
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加仅退款功能
parent
d629b700
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
index.jsx
src/pages/AfterSaleManage/PassAudit/index.jsx
+4
-4
index.jsx
src/pages/AfterSaleManage/Pending/index.jsx
+2
-2
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+1
-2
No files found.
src/pages/AfterSaleManage/PassAudit/index.jsx
View file @
ba135c72
...
@@ -40,6 +40,7 @@ export default () => {
...
@@ -40,6 +40,7 @@ export default () => {
setProofsVisible
(
false
);
setProofsVisible
(
false
);
handleComModalVisible
(
false
);
handleComModalVisible
(
false
);
setAppealDetailModal
(
false
);
setAppealDetailModal
(
false
);
setAfterVisible
(
false
);
};
};
const
reject
=
async
({
serviceNo
})
=>
{
const
reject
=
async
({
serviceNo
})
=>
{
setServiceNoInfo
(
serviceNo
);
setServiceNoInfo
(
serviceNo
);
...
@@ -64,10 +65,9 @@ export default () => {
...
@@ -64,10 +65,9 @@ export default () => {
}
}
};
};
const
viewLog
=
async
r
=>
{
const
viewLog
=
async
r
=>
{
const
[
data
]
=
await
getOpLog
(
r
.
serviceNo
);
const
data
=
await
getOpLog
(
r
.
serviceNo
);
console
.
log
(
data
);
if
(
data
?.
data
?.
length
)
{
if
(
data
)
{
setAfterList
(
data
.
data
);
setAfterList
(
data
);
setAfterVisible
(
true
);
setAfterVisible
(
true
);
}
}
};
};
...
...
src/pages/AfterSaleManage/Pending/index.jsx
View file @
ba135c72
...
@@ -43,9 +43,9 @@ export default () => {
...
@@ -43,9 +43,9 @@ export default () => {
setAppealDetailModal
(
false
);
setAppealDetailModal
(
false
);
setAfterVisible
(
false
);
setAfterVisible
(
false
);
};
};
const
openAudit
=
async
({
serviceNo
})
=>
{
const
openAudit
=
async
({
serviceNo
,
serviceType
})
=>
{
const
data
=
await
auditInfoApi
({
serviceNo
});
const
data
=
await
auditInfoApi
({
serviceNo
});
setAuditInfo
({
...
data
?.
data
,
serviceNo
});
setAuditInfo
({
...
data
?.
data
,
serviceNo
,
serviceType
});
setVisible
(
true
);
setVisible
(
true
);
};
};
const
viewProofs
=
proofs
=>
{
const
viewProofs
=
proofs
=>
{
...
...
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
ba135c72
...
@@ -13,7 +13,6 @@ const AuditModal = props => {
...
@@ -13,7 +13,6 @@ const AuditModal = props => {
form
:
{
getFieldDecorator
,
getFieldValue
,
validateFields
,
resetFields
},
form
:
{
getFieldDecorator
,
getFieldValue
,
validateFields
,
resetFields
},
formData
=
{},
formData
=
{},
}
=
props
;
}
=
props
;
const
handleCancel
=
isSuccess
=>
{
const
handleCancel
=
isSuccess
=>
{
resetFields
();
resetFields
();
onCancel
(
isSuccess
);
onCancel
(
isSuccess
);
...
@@ -103,7 +102,7 @@ const AuditModal = props => {
...
@@ -103,7 +102,7 @@ const AuditModal = props => {
/>,
/>,
)
}
)
}
</
FormItem
>
</
FormItem
>
{
isAgree
()
&&
(
{
isAgree
()
&&
+
formData
.
serviceType
===
2
&&
(
<
div
>
<
div
>
<
FormItem
label=
"退货地址"
>
<
FormItem
label=
"退货地址"
>
{
getFieldDecorator
(
'
receiveAddress
'
,
{
{
getFieldDecorator
(
'
receiveAddress
'
,
{
...
...
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