diff --git a/src/pages/coupon/list/index.jsx b/src/pages/coupon/list/index.jsx index f1f44c5e..609479bb 100644 --- a/src/pages/coupon/list/index.jsx +++ b/src/pages/coupon/list/index.jsx @@ -477,7 +477,13 @@ const UseCouponList = () => { ); } - if ([4, 5, 8].includes(rowData.status)) { + if ([1, 2].includes(rowData.old_status)) { + return ( + delFn(e, rowData)}> + 作废 + + ); + } else { return ( { 作废 ); - } else { - return ( - delFn(e, rowData)}> - 作废 - - ); } case 4: if (rowData.status === 6 && Number(rowData.approval_id) > 0) {