fix: 优惠列表只有 old_status = 1进行中/2暂停中 可以作废
This commit is contained in:
parent
3895b3a94c
commit
46ee64d7fa
|
@ -477,7 +477,13 @@ const UseCouponList = () => {
|
|||
</span>
|
||||
);
|
||||
}
|
||||
if ([4, 5, 8].includes(rowData.status)) {
|
||||
if ([1, 2].includes(rowData.old_status)) {
|
||||
return (
|
||||
<span className="grid-link" onClick={(e) => delFn(e, rowData)}>
|
||||
作废
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
<span
|
||||
style={{
|
||||
|
@ -488,12 +494,6 @@ const UseCouponList = () => {
|
|||
作废
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
<span className="grid-link" onClick={(e) => delFn(e, rowData)}>
|
||||
作废
|
||||
</span>
|
||||
);
|
||||
}
|
||||
case 4:
|
||||
if (rowData.status === 6 && Number(rowData.approval_id) > 0) {
|
||||
|
|
Loading…
Reference in New Issue