From b9d8630026dc3ae329b5c17a3f069f4f88cc159d Mon Sep 17 00:00:00 2001 From: zhaoxing <2558691827@qq.com> Date: Sun, 1 Nov 2026 13:17:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(worker):=20=E6=95=B4=E5=8D=95=E9=AA=8C?= =?UTF-8?q?=E6=94=B6=E4=B8=8D=E5=86=8D=E8=A2=AB=E6=8B=BC=E5=8D=95=E4=BB=BD?= =?UTF-8?q?=E9=A2=9D=E9=98=B2=E5=91=86=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/src/pages/worker/WorkerOrdersPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/frontend/src/pages/worker/WorkerOrdersPage.tsx b/apps/frontend/src/pages/worker/WorkerOrdersPage.tsx index ee6d022f..21f32d75 100644 --- a/apps/frontend/src/pages/worker/WorkerOrdersPage.tsx +++ b/apps/frontend/src/pages/worker/WorkerOrdersPage.tsx @@ -324,7 +324,8 @@ export default function WorkerOrdersPage() { function openAcceptanceModal(order: WorkOrder) { const shares = getOrderShares(order) - if (shares.length === 0) { + // 整单(非拼单)本来就没有份额,不能拦;只有拼单订单缺份额时才提示刷新。 + if (shares.length === 0 && order.sharing?.enabled === true) { message.warning('未找到可验收的拼单份额,请刷新后重试') return }