From 615d377526fb2b934b9f41c35247ef9d122f0f46 Mon Sep 17 00:00:00 2001 From: zhangds Date: Tue, 22 Nov 2022 15:34:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/coupon/list/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/coupon/list/index.jsx b/src/pages/coupon/list/index.jsx index 82b372c5..6bc4288f 100644 --- a/src/pages/coupon/list/index.jsx +++ b/src/pages/coupon/list/index.jsx @@ -374,6 +374,7 @@ const UseCouponList = () => { }; // 启用-禁用 + // old_status 1进行中 2暂停中 const changeStatus = (status, row) => { Sweetalert.confirm({ type: "warning", @@ -521,6 +522,7 @@ const UseCouponList = () => { ); } case 4: + // 如果 approval_id 小于0 该数据是从key批次流过来的数据,所以只能在key批次进行操作 if (rowData.status === 6 && Number(rowData.approval_id) > 0) { return ( onReCall(e, rowData)}>