From 797aacd748a2543d5f3f78336123378c386ad00d Mon Sep 17 00:00:00 2001 From: zm2000 <18386612143@163.com> Date: Thu, 27 Aug 2026 17:58:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E5=A4=8D?= =?UTF-8?q?=E6=A0=B8=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/order.ts | 22 ++ src/pages/index/index.vue | 4 +- src/pages/order/index.vue | 629 ++++++++++++++++++++++++++++++++------ 3 files changed, 567 insertions(+), 88 deletions(-) diff --git a/src/api/order.ts b/src/api/order.ts index 1a8d4ed..b0da543 100644 --- a/src/api/order.ts +++ b/src/api/order.ts @@ -100,3 +100,25 @@ export function scanReviewOrder( options ) } + +/** + * 订单复核-按拣货任务 ID 拉取复核扫描视图(order.recheckOrder.scanTask) + * 根据拣货任务的 pick_mode 区分散单/团单模式,返回与 scanOrder 一致的数据结构: + * - 散单(pick_mode 2/3/4):list_type='single',扁平订单列表(按 order_id 去重,未复核优先、wave_index 升序) + * - 团购(pick_mode 1/5):list_type='group',任务下所有团购波次及订单分组列表 + */ +export function scanReviewTask( + params: { + task_id: number + }, + options?: RequestOptions +) { + return request( + 'order.recheckOrder.scanTask', + { + ...workerPayload, + ...params, + }, + options + ) +} diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 6eeba0e..4adc4f9 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -185,8 +185,10 @@ export default { .layout-main { flex: 1; min-height: 0; - padding: 0 28rpx 24rpx; + padding: 0; box-sizing: border-box; + display: flex; + flex-direction: column; } .module-placeholder { diff --git a/src/pages/order/index.vue b/src/pages/order/index.vue index c463d33..0971909 100644 --- a/src/pages/order/index.vue +++ b/src/pages/order/index.vue @@ -5,35 +5,43 @@ + + + 复核扫描 + + 数量 + − + + + + +