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
shenshaokai
jinfa-platform
Commits
3d2fed1f
Commit
3d2fed1f
authored
Oct 16, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 替换查询商品列表接口
parent
d3577472
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.tsx
...CouponUnsubmitted/components/CouponForm/effects/index.tsx
+3
-2
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponUnsubmitted/components/CouponForm/effects/index.tsx
View file @
3d2fed1f
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-06-24 14:03:34
* @Date: 2021-06-24 14:03:34
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-
08-03 11:26:22
* @LastEditTime: 2021-
10-16 16:06:07
* @Description:
* @Description:
*/
*/
import
{
FormPath
,
FormEffectHooks
}
from
'@formily/antd'
;
import
{
FormPath
,
FormEffectHooks
}
from
'@formily/antd'
;
import
{
useAsyncInitSelect
}
from
'@/formSchema/effects/useAsyncInitSelect'
;
import
{
useAsyncInitSelect
}
from
'@/formSchema/effects/useAsyncInitSelect'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
GlobalConfig
}
from
'@/global/config'
;
import
{
useBusinessEffects
}
from
'./useBusinessEffects'
;
import
{
useBusinessEffects
}
from
'./useBusinessEffects'
;
import
{
ResponseType
}
from
'../../../../../components/MemberCheckboxGroup'
;
import
{
ResponseType
}
from
'../../../../../components/MemberCheckboxGroup'
;
...
@@ -150,7 +151,7 @@ export const createEffects = (context, actions) => {
...
@@ -150,7 +151,7 @@ export const createEffects = (context, actions) => {
// 初始化 适用商城数据
// 初始化 适用商城数据
onFieldMount$
(
'suitableMallTypes'
).
subscribe
(()
=>
{
onFieldMount$
(
'suitableMallTypes'
).
subscribe
(()
=>
{
PublicApi
.
getManageShopFindByMemberType
(
).
then
((
res
)
=>
{
PublicApi
.
postManageWebShopWebAll
({
siteId
:
GlobalConfig
.
global
.
siteInfo
.
id
,
hasMemberType
:
1
}
).
then
((
res
)
=>
{
if
(
res
.
code
===
1000
)
{
if
(
res
.
code
===
1000
)
{
const
{
data
=
[]
}
=
res
;
const
{
data
=
[]
}
=
res
;
setFieldState
(
'suitableMallTypes'
,
state
=>
{
setFieldState
(
'suitableMallTypes'
,
state
=>
{
...
...
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