fix(dropship): preserve carton quantities and shared pallet outbound ownership
This commit is contained in:
@@ -57,12 +57,16 @@ components:
|
||||
items: { $ref: '#/components/schemas/DropshipSkuPackages' }
|
||||
DropshipSkuPackages:
|
||||
type: object
|
||||
required: [skuCode, packageCount, productQuantity, cartonMarks]
|
||||
required: [skuCode, packageCount, productQuantity, cartonMarks, cartonQuantities]
|
||||
properties:
|
||||
skuCode: { type: string, minLength: 1 }
|
||||
productName: { type: string, nullable: true }
|
||||
packageCount: { type: integer, format: int64, minimum: 1 }
|
||||
productQuantity: { type: integer, format: int64, minimum: 1 }
|
||||
cartonQuantities:
|
||||
type: object
|
||||
description: 箱唛到逐箱实收商品件数的完整映射,键必须与 cartonMarks 一致,值合计必须等于 productQuantity
|
||||
additionalProperties: { type: integer, format: int64, minimum: 1 }
|
||||
cartonMarks:
|
||||
type: array
|
||||
minItems: 1
|
||||
|
||||
@@ -664,7 +664,7 @@ paths:
|
||||
description: 权限 platform:overseas-warehouse:outbound:list;只按全局唯一 outboundNo 定位并从记录解析客户范围,不接收 customerId。
|
||||
security: [{ bearerAuth: [] }]
|
||||
parameters: [{ name: outboundNo, in: path, required: true, schema: { type: string } }]
|
||||
responses: { '200': { description: '出库单、出库托盘及关联派送单详情;pallets[].palletNo 为 Warehouse 权威实物托盘码' }, '404': { description: 出库单不存在 } }
|
||||
responses: { '200': { description: '出库单、出库托盘及关联派送单详情;一件代发等独立出库无派送单时 delivery 为 null,排车转派送必须存在派送单;pallets[].palletNo 为 Warehouse 权威实物托盘码' }, '404': { description: 出库单不存在 } }
|
||||
/api/platform/v1/last-leg/outbound-orders/{outboundNo}/cancel:
|
||||
post:
|
||||
summary: 取消未执行出库单
|
||||
|
||||
Reference in New Issue
Block a user