Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
黄庭坚
jinfa-platform
Commits
a76cfe91
Commit
a76cfe91
authored
Jul 28, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复加工取消反选时继续请求接口错误
parent
d87a9ce6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.tsx
src/pages/handling/assign/create/index.tsx
+4
-1
No files found.
src/pages/handling/assign/create/index.tsx
View file @
a76cfe91
...
...
@@ -283,6 +283,7 @@ const Create = () => {
},
[])
const
handleBeforeProductChecked
=
useCallback
(
async
(
record
:
GetProductCommodityCommonGetCommodityListByBuyerResponseDetail
,
selected
:
boolean
,
list
:
GetProductCommodityCommonGetCommodityListByBuyerResponseDetail
[])
=>
{
if
(
selected
)
{
const
postData
=
list
.
map
((
item
)
=>
{
return
{
/** * 这里指的是skuid, 而接口getProductCommodityCommonGetCommodityListByBuyer 的主键id 就是skuid, 不是(commodityId)*/
...
...
@@ -296,6 +297,8 @@ const Create = () => {
})
const
{
flag
}
=
await
checkProcessEnum
(
postData
);
return
flag
;
}
return
true
},
[])
/** @review 总感觉这个接口有大问题,能力中心没办法拿到shopId,不知道这个shopId 的意义在哪里 */
...
...
@@ -982,7 +985,7 @@ const Create = () => {
}
}
components=
{
{
Cascader
}
}
effects=
{
(
$
,
actions
)
=>
{
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'
name
'
,
FORM_FILTER_PATH
);
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'
orderNo
'
,
FORM_FILTER_PATH
);
}
}
mode=
{
"checkbox"
}
beforeChecked=
{
handleBeforeOrderChecked
}
...
...
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