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
0ff0fd32
Commit
0ff0fd32
authored
Apr 11, 2023
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 兼容代码
parent
871fa043
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StockModal.jsx
src/pages/GoodsManage/Takeaway/components/StockModal.jsx
+1
-1
index.jsx
src/pages/GoodsManage/Takeaway/index.jsx
+2
-2
No files found.
src/pages/GoodsManage/Takeaway/components/StockModal.jsx
View file @
0ff0fd32
...
@@ -42,7 +42,7 @@ const StockModal = options => {
...
@@ -42,7 +42,7 @@ const StockModal = options => {
skuId
:
options
.
skuIds
[
0
],
skuId
:
options
.
skuIds
[
0
],
shopId
:
options
.
shopId
,
shopId
:
options
.
shopId
,
});
});
if
(
res
&&
res
.
code
===
'
0000
'
&&
res
.
businessCode
===
'
0000
'
)
{
if
(
res
&&
res
.
code
===
'
0000
'
&&
res
.
businessCode
===
'
0000
'
&&
res
.
data
)
{
const
info
=
res
.
data
;
const
info
=
res
.
data
;
form
.
setFieldsValue
({
form
.
setFieldsValue
({
autoStockStep
:
info
.
autoStockStep
,
autoStockStep
:
info
.
autoStockStep
,
...
...
src/pages/GoodsManage/Takeaway/index.jsx
View file @
0ff0fd32
...
@@ -60,8 +60,8 @@ const Takeaway = options => {
...
@@ -60,8 +60,8 @@ const Takeaway = options => {
const
res
=
await
apiTakeawayGoods
(
params
);
const
res
=
await
apiTakeawayGoods
(
params
);
setLoading
(
false
);
setLoading
(
false
);
if
(
res
&&
res
.
data
)
{
if
(
res
&&
res
.
data
)
{
setTableData
(
res
.
data
.
records
);
setTableData
(
res
.
data
.
records
||
[]
);
setTotal
(
res
.
data
.
total
);
setTotal
(
res
.
data
.
total
||
0
);
}
}
};
};
const
onPageChange
=
(
page
,
size
)
=>
{
const
onPageChange
=
(
page
,
size
)
=>
{
...
...
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