287 lines
8.9 KiB
Plaintext
287 lines
8.9 KiB
Plaintext
storage.receiving.getReceivingList
|
||
|
||
Params (2)
|
||
名称 类型 必填 说明
|
||
pagination object 否 分页参数,支持 page/pageSize
|
||
where object 否 统一 where 条件对象;推荐使用 { operator, value, type } 标准结构,历史简写会在 main 中自动标准化;支持 quickWhere、status、store_id、日期区间等字段。示例:where.status={operator:eq,value:finished}; where.store_id={operator:eq,value:1001}; where.create_time_start={value:2026-03-01}。
|
||
|
||
-----
|
||
storage.inventory.quickPutaway接口
|
||
|
||
收货单快捷入库上架。从收货单直接生成入库单并写入库存表,要求收货单已完成且所有明细已匹配系统商品
|
||
|
||
Params (1)
|
||
名称 类型 必填 说明
|
||
receiving_id number 是 收货单ID,兼容 id
|
||
|
||
|
||
-----
|
||
storage.entry.list
|
||
入库单列表查询
|
||
|
||
Params (3)
|
||
名称 类型 必填 说明
|
||
pagination object 否 分页参数,支持 page/pageSize
|
||
where object 否 统一 where 条件对象;推荐使用 { operator, value, type } 标准结构,历史简写会在 main 中自动标准化;支持 quickWhere、order_status、store_id、order_type、日期区间等字段。示例:where.order_status={operator:eq,value:waiting}; where.order_type={operator:eq,value:purchase}; where.create_time_start={value:2026-03-01}。
|
||
sort object 否 排序参数,支持 sortField/sortOrder
|
||
|
||
Response (3)
|
||
名称 类型 必填 说明
|
||
list array 是 入库单列表
|
||
pagination object 是 分页信息(page、pageSize、total、totalPages、hasPrevious、hasNext)
|
||
summary object 是 状态汇总(total、pending、creating、created、completed、cancelled)
|
||
|
||
{
|
||
"flag": "success",
|
||
"code": 200,
|
||
"message": "查询成功",
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 103,
|
||
"entry_order_code": "33134",
|
||
"order_type": "SCRK",
|
||
"purchase_order_code": "36151",
|
||
"total_order_lines": 0,
|
||
"order_create_time": "2026-03-27T07:43:19.000Z",
|
||
"expect_start_time": null,
|
||
"expect_end_time": null,
|
||
"logistics_code": "",
|
||
"logistics_name": "",
|
||
"express_code": "",
|
||
"supplier_code": "",
|
||
"supplier_name": "",
|
||
"source_type": "API",
|
||
"order_status": "CREATED",
|
||
"sync_status": "PENDING",
|
||
"sync_message": "",
|
||
"is_enabled": 1,
|
||
"created_at": "2026-03-27T07:43:19.000Z",
|
||
"updated_at": "2026-03-27T07:43:19.000Z",
|
||
"warehouse_id": 1000028,
|
||
"store_id": 1000147,
|
||
"remark": "新增入库单2",
|
||
"store_name": null,
|
||
"warehouse_name": null,
|
||
"deleted_at": null,
|
||
"qimen_owner_code": null,
|
||
"qimen_warehouse_code": null,
|
||
"warehouse": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
},
|
||
"store": {
|
||
"id": 1000147,
|
||
"company_name": "广州天豹云仓"
|
||
}
|
||
},
|
||
{
|
||
"id": 102,
|
||
"entry_order_code": "1919810",
|
||
"order_type": "SCRK",
|
||
"purchase_order_code": "114514",
|
||
"total_order_lines": 0,
|
||
"order_create_time": "2026-03-27T07:42:17.000Z",
|
||
"expect_start_time": null,
|
||
"expect_end_time": null,
|
||
"logistics_code": "",
|
||
"logistics_name": "",
|
||
"express_code": "",
|
||
"supplier_code": "",
|
||
"supplier_name": "",
|
||
"source_type": "API",
|
||
"order_status": "CREATED",
|
||
"sync_status": "PENDING",
|
||
"sync_message": "",
|
||
"is_enabled": 1,
|
||
"created_at": "2026-03-27T07:42:17.000Z",
|
||
"updated_at": "2026-03-27T07:42:17.000Z",
|
||
"warehouse_id": 1000028,
|
||
"store_id": 1000147,
|
||
"remark": "新建入库单测试",
|
||
"store_name": null,
|
||
"warehouse_name": null,
|
||
"deleted_at": null,
|
||
"qimen_owner_code": null,
|
||
"qimen_warehouse_code": null,
|
||
"warehouse": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
},
|
||
"store": {
|
||
"id": 1000147,
|
||
"company_name": "广州天豹云仓"
|
||
}
|
||
},
|
||
{
|
||
"id": 101,
|
||
"entry_order_code": "ENT1774445767744174",
|
||
"order_type": "QTRK",
|
||
"purchase_order_code": "PO-COMP-1774445767714",
|
||
"total_order_lines": 1,
|
||
"order_create_time": "2026-03-25T13:36:07.000Z",
|
||
"expect_start_time": null,
|
||
"expect_end_time": null,
|
||
"logistics_code": "",
|
||
"logistics_name": "",
|
||
"express_code": "",
|
||
"supplier_code": "",
|
||
"supplier_name": "",
|
||
"source_type": "API",
|
||
"order_status": "COMPLETED",
|
||
"sync_status": "PENDING",
|
||
"sync_message": "",
|
||
"is_enabled": 1,
|
||
"created_at": "2026-03-25T13:36:07.000Z",
|
||
"updated_at": "2026-03-25T13:36:08.000Z",
|
||
"warehouse_id": 1000028,
|
||
"store_id": 1000028,
|
||
"remark": "integration-test-complete",
|
||
"store_name": null,
|
||
"warehouse_name": null,
|
||
"deleted_at": null,
|
||
"qimen_owner_code": null,
|
||
"qimen_warehouse_code": null,
|
||
"warehouse": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
},
|
||
"store": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
}
|
||
},
|
||
{
|
||
"id": 100,
|
||
"entry_order_code": "ENT1774445765920918",
|
||
"order_type": "QTRK",
|
||
"purchase_order_code": "PO-1774445765881",
|
||
"total_order_lines": 0,
|
||
"order_create_time": "2026-03-25T13:36:05.000Z",
|
||
"expect_start_time": null,
|
||
"expect_end_time": null,
|
||
"logistics_code": "",
|
||
"logistics_name": "",
|
||
"express_code": "",
|
||
"supplier_code": "",
|
||
"supplier_name": "",
|
||
"source_type": "API",
|
||
"order_status": "CANCELLED",
|
||
"sync_status": "PENDING",
|
||
"sync_message": "",
|
||
"is_enabled": 1,
|
||
"created_at": "2026-03-25T13:36:05.000Z",
|
||
"updated_at": "2026-03-25T13:36:06.000Z",
|
||
"warehouse_id": 1000028,
|
||
"store_id": 1000028,
|
||
"remark": "integration-test-cancel",
|
||
"store_name": null,
|
||
"warehouse_name": null,
|
||
"deleted_at": null,
|
||
"qimen_owner_code": null,
|
||
"qimen_warehouse_code": null,
|
||
"warehouse": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
},
|
||
"store": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
}
|
||
},
|
||
{
|
||
"id": 99,
|
||
"entry_order_code": "ENT1774435697353684",
|
||
"order_type": "QTRK",
|
||
"purchase_order_code": "PO-COMP-1774435697311",
|
||
"total_order_lines": 1,
|
||
"order_create_time": "2026-03-25T10:48:17.000Z",
|
||
"expect_start_time": null,
|
||
"expect_end_time": null,
|
||
"logistics_code": "",
|
||
"logistics_name": "",
|
||
"express_code": "",
|
||
"supplier_code": "",
|
||
"supplier_name": "",
|
||
"source_type": "API",
|
||
"order_status": "COMPLETED",
|
||
"sync_status": "PENDING",
|
||
"sync_message": "",
|
||
"is_enabled": 1,
|
||
"created_at": "2026-03-25T10:48:17.000Z",
|
||
"updated_at": "2026-03-25T10:48:17.000Z",
|
||
"warehouse_id": 1000028,
|
||
"store_id": 1000028,
|
||
"remark": "integration-test-complete",
|
||
"store_name": null,
|
||
"warehouse_name": null,
|
||
"deleted_at": null,
|
||
"qimen_owner_code": null,
|
||
"qimen_warehouse_code": null,
|
||
"warehouse": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
},
|
||
"store": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
}
|
||
},
|
||
{
|
||
"id": 98,
|
||
"entry_order_code": "ENT1774435695468552",
|
||
"order_type": "QTRK",
|
||
"purchase_order_code": "PO-1774435695428",
|
||
"total_order_lines": 0,
|
||
"order_create_time": "2026-03-25T10:48:15.000Z",
|
||
"expect_start_time": null,
|
||
"expect_end_time": null,
|
||
"logistics_code": "",
|
||
"logistics_name": "",
|
||
"express_code": "",
|
||
"supplier_code": "",
|
||
"supplier_name": "",
|
||
"source_type": "API",
|
||
"order_status": "CANCELLED",
|
||
"sync_status": "PENDING",
|
||
"sync_message": "",
|
||
"is_enabled": 1,
|
||
"created_at": "2026-03-25T10:48:15.000Z",
|
||
"updated_at": "2026-03-25T10:48:16.000Z",
|
||
"warehouse_id": 1000028,
|
||
"store_id": 1000028,
|
||
"remark": "integration-test-cancel",
|
||
"store_name": null,
|
||
"warehouse_name": null,
|
||
"deleted_at": null,
|
||
"qimen_owner_code": null,
|
||
"qimen_warehouse_code": null,
|
||
"warehouse": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
},
|
||
"store": {
|
||
"id": 1000028,
|
||
"company_name": "天豹云仓"
|
||
}
|
||
}
|
||
],
|
||
"pagination": {
|
||
"page": 1,
|
||
"pageSize": 20,
|
||
"total": 6,
|
||
"totalPages": 1,
|
||
"hasPrevious": false,
|
||
"hasNext": false
|
||
},
|
||
"summary": {
|
||
"total": 6,
|
||
"pending": 0,
|
||
"creating": 0,
|
||
"created": 2,
|
||
"completed": 2,
|
||
"cancelled": 2
|
||
}
|
||
},
|
||
"timestamp": 1775725099
|
||
} |