diff --git a/src/pages/store/orders/index.tsx b/src/pages/store/orders/index.tsx index 9a54bae..8d5064d 100644 --- a/src/pages/store/orders/index.tsx +++ b/src/pages/store/orders/index.tsx @@ -135,14 +135,14 @@ function getOrderActions(order: ShopOrder): { label: string; type: OpType }[] { if (!order.payStatus && order.payType === 9 && order.orderStatus === 0) { actions.push({label: '确认收款', type: 'confirmPay'}) } - // 确认完成:仅在确认收款后显示(已付款才能确认完成) - if (order.payStatus) { - actions.push({label: '确认完成', type: 'complete'}) - } // 发货:确认收款后、且尚未发货(deliveryStatus<20)时显示 if (order.payStatus && (order.deliveryStatus == null || order.deliveryStatus < 20) && order.orderStatus !== 1) { actions.push({label: '发货', type: 'ship'}) } + // 确认完成:仅在确认收款后显示(已付款才能确认完成) + if (order.payStatus) { + actions.push({label: '确认完成', type: 'complete'}) + } return actions }