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
76c9c61f
Commit
76c9c61f
authored
Aug 29, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加拒绝提示语
parent
02e5e774
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
index.jsx
src/pages/GoodsManage/UpdateStock/index.jsx
+5
-1
index.jsx
src/pages/GoodsManage/index.jsx
+1
-3
No files found.
src/pages/GoodsManage/UpdateStock/index.jsx
View file @
76c9c61f
...
@@ -113,7 +113,11 @@ const UpdateStock = props => {
...
@@ -113,7 +113,11 @@ const UpdateStock = props => {
initialValue
:
valueInfo
.
changeReason
,
initialValue
:
valueInfo
.
changeReason
,
})(<
Input
.
TextArea
disabled=
{
valueInfo
.
status
===
1
}
maxLength=
{
50
}
/>)
}
})(<
Input
.
TextArea
disabled=
{
valueInfo
.
status
===
1
}
maxLength=
{
50
}
/>)
}
</
Form
.
Item
>
</
Form
.
Item
>
{
valueInfo
.
stateDesc
&&
<
div
className=
{
styles
.
stockErrMsg
}
>
{
valueInfo
.
stateDesc
}
</
div
>
}
{
valueInfo
.
stateDesc
&&
(
<
div
className=
{
styles
.
stockErrMsg
}
>
{
valueInfo
.
stateDesc
}
:
{
valueInfo
.
rejectReason
}
</
div
>
)
}
</
Form
>
</
Form
>
</
Modal
>
</
Modal
>
);
);
...
...
src/pages/GoodsManage/index.jsx
View file @
76c9c61f
...
@@ -283,9 +283,7 @@ class goodsManage extends Component {
...
@@ -283,9 +283,7 @@ class goodsManage extends Component {
};
};
onShowStockModal
=
async
row
=>
{
onShowStockModal
=
async
row
=>
{
console
.
log
(
'
row :>>
'
,
row
);
const
res
=
await
apiQueryLastChangeLog
(
row
.
skuId
);
const
res
=
await
apiQueryLastChangeLog
(
row
.
skuId
);
console
.
log
(
'
res :>>
'
,
res
);
let
priceInfo
=
{
let
priceInfo
=
{
id
:
row
.
skuId
,
id
:
row
.
skuId
,
curStock
:
row
.
productStock
,
curStock
:
row
.
productStock
,
...
@@ -300,11 +298,11 @@ class goodsManage extends Component {
...
@@ -300,11 +298,11 @@ class goodsManage extends Component {
changeType
:
res
.
data
.
changeType
,
changeType
:
res
.
data
.
changeType
,
status
:
res
.
data
.
status
,
status
:
res
.
data
.
status
,
stateDesc
:
res
.
data
.
statusDesc
,
stateDesc
:
res
.
data
.
statusDesc
,
rejectReason
:
res
.
data
.
rejectReason
,
},
},
priceInfo
,
priceInfo
,
);
);
}
}
console
.
log
(
'
priceInfo :>>
'
,
priceInfo
);
this
.
setState
({
this
.
setState
({
updateStockVisible
:
true
,
updateStockVisible
:
true
,
priceInfo
,
priceInfo
,
...
...
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