fix: expose manual plans awaiting pallets

This commit is contained in:
2026-09-10 16:33:43 +08:00
parent 4382351569
commit 0ed913a114
5 changed files with 11 additions and 8 deletions
@@ -131,7 +131,7 @@ describe('last-mile order overseas API', () => {
const record = {
sourceContainerBookingId: '2092873463568597001', containerNo: 'CONT-15', totalOrderCount: 15,
inboundCodeCount: 13, missingInboundCodeCount: 2, planCount: 10, plannedInboundCodeCount: 10,
pendingPlanCount: 5, plannedArrivalAt: '2026-09-01T08:00:00', allPlansReady: false, blockingReason: '存在2票缺少入仓码',
pendingPlanCount: 5, resourcePendingPlanCount: 0, plannedArrivalAt: '2026-09-01T08:00:00', allPlansReady: false, blockingReason: '存在2票缺少入仓码',
}
vi.mocked(overseasHttp.get).mockResolvedValue({
code: '200', message: 'success', data: { records: [record], page: '2', size: '10', total: '21', pages: '3' },
@@ -182,6 +182,7 @@ export interface ContainerPlanProgressSummaryDto {
planCount: number
plannedInboundCodeCount: number
pendingPlanCount: number
resourcePendingPlanCount: number
plannedArrivalAt: string | null
allPlansReady: boolean
blockingReason: string | null