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
36d460ca
Commit
36d460ca
authored
Oct 19, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 编辑按钮控制
parent
879849b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
infoAudit.jsx
src/pages/GoodsManage/createModal/infoAudit.jsx
+8
-5
index.jsx
src/pages/GoodsManage/index.jsx
+1
-0
No files found.
src/pages/GoodsManage/createModal/infoAudit.jsx
View file @
36d460ca
...
...
@@ -36,11 +36,14 @@ const InfoAudit = props => {
title=
"商品信息变更审核"
visible=
{
props
.
visible
}
footer=
{
[
audit
.
status
===
3
&&
(
<
Button
key=
"back"
type=
"primary"
onClick=
{
()
=>
props
.
onEdit
()
}
>
再次编辑
</
Button
>
),
audit
.
status
===
3
&&
props
.
canEditable
&&
(
props
.
skuInfo
.
state
===
4
||
(
props
.
skuInfo
.
state
>=
5
&&
props
.
skuInfo
.
updateState
!==
1
))
&&
(
<
Button
key=
"back"
type=
"primary"
onClick=
{
()
=>
props
.
onEdit
()
}
>
再次编辑
</
Button
>
),
<
Button
key=
"close"
onClick=
{
()
=>
props
.
onCancel
()
}
>
关闭
</
Button
>,
...
...
src/pages/GoodsManage/index.jsx
View file @
36d460ca
...
...
@@ -542,6 +542,7 @@ class goodsManage extends Component {
<
InfoAudit
visible=
{
this
.
state
.
visibleAuditModal
}
skuInfo=
{
this
.
state
.
auditRow
}
canEditable=
{
this
.
canEditable
}
onCancel=
{
()
=>
{
this
.
setState
({
visibleAuditModal
:
false
,
auditRow
:
{}
});
}
}
...
...
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