Commit bc999e6b authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充后台所需字段

parent 35b63de6
......@@ -72,6 +72,10 @@ export type SuitableMemberType = {
* 是否禁用的
*/
disabled?: boolean,
/**
* 适用会员类型
*/
suitableMemberType: number,
}
type MemberListItemType = {
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment