diff --git a/src/pages/coupon/list/index.jsx b/src/pages/coupon/list/index.jsx
index b35153a7..9ee488d9 100644
--- a/src/pages/coupon/list/index.jsx
+++ b/src/pages/coupon/list/index.jsx
@@ -491,6 +491,18 @@ const UseCouponList = () => {
);
}
if ([1, 2, 3].includes(rowData.old_status)) {
+ if (rowData.approval_status === 1) {
+ return (
+
+ 作废
+
+ );
+ }
return (
delFn(e, rowData)}>
作废
@@ -635,14 +647,20 @@ const UseCouponList = () => {
}
if (com == "switch") {
- return (
- changeStatus(e, rowData)}
- disabled={rowData.status == 4 || rowData.status == 5}
- >
- );
+ // 必须是 进行中1 或者 暂停中2
+ if (rowData.status === 2 || rowData.status === 1) {
+ return (
+ changeStatus(e, rowData)}
+ >
+ );
+ } else {
+ return (
+
+ );
+ }
}
if (com == "status") {