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
bc999e6b
Commit
bc999e6b
authored
Mar 11, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 补充后台所需字段
parent
35b63de6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
index.tsx
...Ability/merchantCoupon/components/DeliverCoupon/index.tsx
+4
-0
index.tsx
...y/merchantCoupon/merchantCouponAnalysis/deliver/index.tsx
+6
-1
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/components/DeliverCoupon/index.tsx
View file @
bc999e6b
...
...
@@ -72,6 +72,10 @@ export type SuitableMemberType = {
* 是否禁用的
*/
disabled
?:
boolean
,
/**
* 适用会员类型
*/
suitableMemberType
:
number
,
}
type
MemberListItemType
=
{
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponAnalysis/deliver/index.tsx
View file @
bc999e6b
...
...
@@ -70,7 +70,12 @@ const MerchantCouponAnalysisDeliver: React.FC<{}> = () => {
setSubmitLoading
(
true
);
postMarketingCouponWaiteExecuteGrant
({
id
:
+
id
,
grantMembers
:
deliverRef
.
current
.
map
((
item
)
=>
({
subMemberId
:
item
.
memberId
,
subRoleId
:
item
.
roleId
})),
grantMembers
:
deliverRef
.
current
.
map
((
item
)
=>
({
subMemberId
:
item
.
memberId
,
subRoleId
:
item
.
roleId
,
subMemberName
:
item
.
name
,
suitableMemberType
:
item
.
suitableMemberType
,
})),
}).
then
(
res
=>
{
if
(
res
.
code
!==
1000
)
{
return
;
...
...
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