fix: 修复兑换码优惠券校验

This commit is contained in:
zhangds 2022-10-11 11:10:01 +08:00
parent 555f163541
commit f19c700a76
2 changed files with 603 additions and 573 deletions

View File

@ -804,6 +804,10 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
try {
// id
const direct_reseller_ids = state.direct_reseller_id;
if (!form_info_data.plan_id) {
Notify.error(`请选择归属计划`);
return;
}
if (direct_reseller_ids <= 0) {
Notify.error(`请添加映射分销商`);
return;

File diff suppressed because it is too large Load Diff