fix: 修复兑换码优惠券校验
This commit is contained in:
parent
555f163541
commit
f19c700a76
|
@ -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
Loading…
Reference in New Issue