diff --git a/admin-web/src/pages/Order/OrderList.js b/admin-web/src/pages/Order/OrderList.js index 3a296525b..c527b88f2 100644 --- a/admin-web/src/pages/Order/OrderList.js +++ b/admin-web/src/pages/Order/OrderList.js @@ -51,10 +51,20 @@ const OrderContent = props => { }); }; + const handleCancelOrder = () => { + dispatch({ + type: 'orderList/changeOrderCancelVisible', + payload: { + orderCancelVisible: true, + orderId: id, + }, + }); + }; + const renderStatusButtons = () => { let res = ''; if (status === 1) { - res = ; + res = ; } else if (status === 2) { res = ; } @@ -70,7 +80,6 @@ const OrderContent = props => {
-