优化
This commit is contained in:
@@ -1345,49 +1345,6 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
/api/platform/v1/last-leg/dispatches/{dispatchNo}/transfer-delivery:
|
||||
post:
|
||||
summary: 原子安排本车全部客户派送及费用
|
||||
description: 权限 platform:overseas-warehouse:dispatch:transfer-delivery。
|
||||
security:
|
||||
- bearerAuth: []
|
||||
responses:
|
||||
'200':
|
||||
description: 统一ApiResponse;业务失败通过code返回,不能仅凭HTTP200判断成功。
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
requestId:
|
||||
type: string
|
||||
nullable: true
|
||||
traceId:
|
||||
type: string
|
||||
nullable: true
|
||||
timestamp:
|
||||
type: string
|
||||
format: date-time
|
||||
data:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DispatchCommandResult'
|
||||
nullable: true
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DispatchArrangeDelivery'
|
||||
parameters:
|
||||
- name: dispatchNo
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
/api/platform/v1/last-leg/dispatches/{dispatchNo}/items:
|
||||
post:
|
||||
summary: 按真实来源版本向整车加货
|
||||
@@ -1727,8 +1684,8 @@ paths:
|
||||
type: string
|
||||
/api/platform/v1/last-leg/dispatches/{dispatchNo}/loading-complete:
|
||||
post:
|
||||
summary: PDA核平后确认装车完成
|
||||
description: 权限 platform:overseas-warehouse:dispatch:loading-complete。
|
||||
summary: 确认装车完成并自动进入派送中
|
||||
description: 权限 platform:overseas-warehouse:dispatch:loading-complete。 原请求在同一事务完成实载确认、全车派送单生成及发车;成功action为LOADING_COMPLETE、stage为DELIVERING,result保留真实Loaded装车证据。任一步失败整体回滚,重试原键恢复最终结果,不另行安排派送或确认发车。
|
||||
security:
|
||||
- bearerAuth: []
|
||||
responses:
|
||||
@@ -1878,43 +1835,6 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
/api/platform/v1/last-leg/dispatches/{dispatchNo}/delivery-arrangement:
|
||||
get:
|
||||
summary: 读取全车派送分组与费用依据
|
||||
description: 权限 platform:overseas-warehouse:dispatch:list。
|
||||
security:
|
||||
- bearerAuth: []
|
||||
responses:
|
||||
'200':
|
||||
description: 统一ApiResponse;业务失败通过code返回,不能仅凭HTTP200判断成功。
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
requestId:
|
||||
type: string
|
||||
nullable: true
|
||||
traceId:
|
||||
type: string
|
||||
nullable: true
|
||||
timestamp:
|
||||
type: string
|
||||
format: date-time
|
||||
data:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DispatchArrangementPreview'
|
||||
nullable: true
|
||||
parameters:
|
||||
- name: dispatchNo
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
/api/platform/v1/last-leg/dispatches/{dispatchNo}/commands/{idempotencyKey}:
|
||||
get:
|
||||
summary: 恢复本人原动作不可变结果
|
||||
@@ -2107,49 +2027,6 @@ paths:
|
||||
schema:
|
||||
type: string
|
||||
pattern: ^[1-9][0-9]*$
|
||||
/api/platform/v1/last-leg/dispatches/{dispatchNo}/depart:
|
||||
post:
|
||||
summary: 确认实际整车发车
|
||||
description: 权限 platform:overseas-warehouse:dispatch:depart。
|
||||
security:
|
||||
- bearerAuth: []
|
||||
responses:
|
||||
'200':
|
||||
description: 统一ApiResponse;业务失败通过code返回,不能仅凭HTTP200判断成功。
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
requestId:
|
||||
type: string
|
||||
nullable: true
|
||||
traceId:
|
||||
type: string
|
||||
nullable: true
|
||||
timestamp:
|
||||
type: string
|
||||
format: date-time
|
||||
data:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DispatchCommandResult'
|
||||
nullable: true
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DispatchDepart'
|
||||
parameters:
|
||||
- name: dispatchNo
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
/api/platform/v1/last-leg/outbound-orders:
|
||||
get:
|
||||
summary: 分页查询出库单
|
||||
@@ -6586,6 +6463,10 @@ components:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DispatchReviews'
|
||||
nullable: true
|
||||
resources:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DispatchResources'
|
||||
nullable: true
|
||||
counts:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/DispatchCounts'
|
||||
@@ -6610,6 +6491,7 @@ components:
|
||||
- stage
|
||||
- recordVersion
|
||||
- reviews
|
||||
- resources
|
||||
- counts
|
||||
- pickingReconciled
|
||||
- items
|
||||
|
||||
Reference in New Issue
Block a user