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 => {
{skuName}
-
秋季精选
{quantity}件
@@ -107,7 +116,7 @@ const OrderContent = props => {
(实付金额)
{payAmount / 100}元
- handleUpdatePayAmount(props)}>修改价格 + {status === 1 ? handleUpdatePayAmount(props)}>修改价格 : ''}
@@ -319,11 +328,11 @@ class BasicList extends PureComponent { - - - - - + + + + +