|
|
@@ -200,6 +200,10 @@ const sendCoupon = (props) => { |
|
|
|
message.error('请选择会员'); |
|
|
|
return; |
|
|
|
} |
|
|
|
if(targetKeys.length>props.lastNum){ |
|
|
|
message.error('优惠券数量不够'); |
|
|
|
return; |
|
|
|
} |
|
|
|
message.loading('正在发送...', key); |
|
|
|
try { |
|
|
|
await SendCouponByUser({ |
|
|
@@ -268,6 +272,7 @@ const sendCoupon = (props) => { |
|
|
|
<Transfer |
|
|
|
oneWay={oneWay} |
|
|
|
showSearch |
|
|
|
showSelectAll |
|
|
|
onSearch={onSearch} |
|
|
|
dataSource={mockData} |
|
|
|
titles={['未选择', '已选中']} |
|
|
|