feat(fleet): bind quote versions and reconcile actual return quantities

This commit is contained in:
2026-10-03 13:32:55 +08:00
parent cb6c54ffe5
commit a6fd0ba3c5
60 changed files with 1363 additions and 75 deletions
@@ -37,6 +37,7 @@ paths:
deliveryNo: { type: string }
status: { type: string }
packages: { type: integer }
remainingPackages: { type: integer, minimum: 0, description: 原运输尚未签收且尚未实际退回的箱数 }
terminalAt: { type: string, format: date-time, nullable: true }
transport: { $ref: '#/components/schemas/Transport' }
latestHandover:
@@ -222,6 +223,16 @@ components:
destinationKey: { type: string }
packages: { type: integer }
terminalAt: { type: string, format: date-time, nullable: true }
returnedCargo:
type: array
description: 由实际退回入账流水映射到原发运明细;部分退回按此扣减箱数,未清空实托保留原测量载荷。
items:
type: object
properties:
itemId: { type: string }
palletId: { type: string }
packages: { type: integer, minimum: 1 }
receivedAt: { type: string, format: date-time }
Inspection:
type: object
properties: