From 787ab1c90c4c3c471b780f245ef862c0a2ff27b4 Mon Sep 17 00:00:00 2001 From: liuyihe <2513762445@qq.com> Date: Tue, 25 Aug 2026 10:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../overseas-warehouse/api/inboundOrders.ts | 1 + .../overseas-warehouse/api/inboundPlans.ts | 2 + .../components/SmartDispatchDialog.vue | 52 +++++++++++++------ .../pages/DispatchDetailView.vue | 2 +- .../pages/InboundOrderDetailView.vue | 24 +++++++-- .../pages/InboundOrdersView.vue | 9 ++-- .../pages/prototypeContract.test.ts | 2 +- src/modules/overseas-warehouse/types.ts | 1 + 8 files changed, 69 insertions(+), 24 deletions(-) diff --git a/src/modules/overseas-warehouse/api/inboundOrders.ts b/src/modules/overseas-warehouse/api/inboundOrders.ts index b30db749..0bdc8ad5 100644 --- a/src/modules/overseas-warehouse/api/inboundOrders.ts +++ b/src/modules/overseas-warehouse/api/inboundOrders.ts @@ -30,6 +30,7 @@ export interface InboundOrderSummaryDto { fbaWarehouseCode?: string | null customerName?: string | null packageCount?: number | null + pickedPackageCount?: number | null volumeCbm?: number | null palletCount?: number | null status?: string | null diff --git a/src/modules/overseas-warehouse/api/inboundPlans.ts b/src/modules/overseas-warehouse/api/inboundPlans.ts index 61313d9a..6fc8490e 100644 --- a/src/modules/overseas-warehouse/api/inboundPlans.ts +++ b/src/modules/overseas-warehouse/api/inboundPlans.ts @@ -51,6 +51,8 @@ export interface InboundPlanDetailDto { lineCount: number palletCount: number totalVolumeCbm: number + expectedPackageCount?: number + pickedPackageCount?: number lines: Array<{ id: string; orderId: string; inboundCode?: string | null; fbaWarehouseCode?: string | null; destinationWarehouseId?: string | null; destinationWarehouseCode?: string | null; destinationWarehouseName?: string | null; volumeCbm?: number | null; requiredPackageCount: number; plannedPalletCount: number }> pallets: Array<{ id: string; palletNo?: string | null; destinationWarehouseId?: string | null; destinationWarehouseCode?: string | null; destinationWarehouseName?: string | null; capacityCbm?: number | null; allocatedVolumeCbm?: number | null; sequenceNo: number; warehousePalletId?: string | null; warehouseLocationId?: string | null; warehouseResourceLockId?: string | null; assignmentStatus?: string | null; lockedAt?: string | null; actualVolumeCbm?: number | null; actualPackageCount: number }> allocations: Array<{ lineId: string; palletId: string; allocatedVolumeCbm?: number | null; plannedPackageCount: number; countedPackageCount: number; pickedPackageCount: number; actualVolumeCbm?: number | null; status?: string | null; version: number }> diff --git a/src/modules/overseas-warehouse/components/SmartDispatchDialog.vue b/src/modules/overseas-warehouse/components/SmartDispatchDialog.vue index 9af1c8cd..9cf144e8 100644 --- a/src/modules/overseas-warehouse/components/SmartDispatchDialog.vue +++ b/src/modules/overseas-warehouse/components/SmartDispatchDialog.vue @@ -1,7 +1,7 @@