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
linweijiong
jinfa-platform
Commits
71df50a9
Commit
71df50a9
authored
Feb 28, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理新建价格策略自营商城取参数错误问题
parent
064523f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
productModal.tsx
...ages/priceManage/priceStrategy/component/productModal.tsx
+4
-6
No files found.
src/pages/priceManage/priceStrategy/component/productModal.tsx
View file @
71df50a9
...
...
@@ -46,14 +46,12 @@ const ProductModal: React.FC<ProductModalProps> = (props) => {
// 指定商品
const
fetchProductList
=
async
(
params
)
=>
{
const
shopId
=
schemaAction
.
getFieldValue
(
'shopId'
)
let
shopInfo
:
any
=
GlobalConfig
.
web
.
shopInfo
.
filter
(
item
=>
item
.
id
===
shopId
)
const
values
=
schemaAction
.
getFieldState
(
'shopId'
)[
'values'
]
const
res
=
await
getProductCommodityGetStrategyCommodityList
({
...
params
,
type
:
shopInfo
[
0
][
"type"
],
environment
:
shopInfo
[
0
].
environment
,
shopId
,
type
:
values
[
1
][
"type"
],
environment
:
values
[
1
][
'environment'
]
,
shopId
:
values
[
0
]
,
// priceTypeList: [1, 2],
})
return
res
.
data
...
...
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