/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20,
"wid": 53,
"type": 1,
"process_sn": "PT240730001",
"status": 2,
"search_field_time": "create_time",
"start_date": "2024-07-30",
"end_date": "2024-07-30"
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "160B52C9-2B20-2A28-75E9-548C96A90565",
"response_time": "2023-03-28 09:59:00",
"data": [
{
"process_sn": "PT230324003",
"wid": 1,
"remark": "",
"status": 2,
"type": 1,
"create_by": 10317908,
"create_time": "2023-03-24 00:55:36",
"finish_uid": 10317908,
"finish_time": "2023-03-26 22:46:51",
"create_realname": "验证账户2",
"finish_realname": "验证账户2",
"ware_house_name": "默认仓库",
"product_list": [
{
"sku": "niubao",
"fnsku": "",
"quantity": 44,
"remark": "",
"process_fee": "0.000000",
"sync_price": "0.0000",
"sync_amount": "0.00",
"seller_id": 0,
"pic_url": "https://image.distxxx.com/xxx/9dc0c077bc5c2.jpg",
"product_name": "早餐套餐",
"seller_name": "",
"whb_code_good": [],
"item_list": [
{
"fnsku": "",
"quantity_process": 44,
"sync_price": "0.0000",
"sync_amount": "0.00",
"seller_id": 0,
"product_name": "肉包",
"sku": "baozi",
"seller_name": "",
"whb_code_good": []
},
{
"fnsku": "",
"quantity_process": 44,
"sync_price": "0.0000",
"sync_amount": "0.00",
"seller_id": 0,
"product_name": "纯牛奶",
"sku": "niunai",
"seller_name": "",
"whb_code_good": []
}
]
}
]
}
],
"total": 999
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | type | 单据类型 | integer | — | 必填 | 单据类型:1加工单,2拆分单 |
| 2 | wid | 仓库id | string | — | 可选 | 仓库id,多个用英文逗号分隔 |
| 3 | process_sn | 加工单号 | string | — | 可选 | 加工单号,多个用英文逗号分隔 |
| 4 | status | 加工状态 | integer | — | 可选 | 加工状态: 0 待配货 1 待完成 2 已完成 |
| 5 | search_field_time | 时间搜索维度 | string | — | 可选 | 时间搜索维度: create_time 创建时间 finish_time 完成时间 update_time 更新时间 |
| 6 | start_date | 开始时间 | string | — | 可选 | 开始时间,格式:Y-m-d |
| 7 | end_date | 结束时间 | string | — | 可选 | 结束时间,格式:Y-m-d |
| 8 | offset | 分页偏移量 | integer | — | 必填 | 分页偏移量,默认0 |
| 9 | length | 分页长度 | integer | — | 必填 | 分页长度,默认500 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 结果 | string | success | 必填 | 结果 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 160B52C9-2B20-2A28-75E9-548C96A90565 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-03-28 09:59:00 | 必填 | 响应时间 |
| 6 | total | 单据总数 | integer | 200 | 必填 | 单据总数 |
| 7 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 7.1 | process_sn | 加工/拆分单号 | string | PT230324003 | 必填 | 加工/拆分单号 |
| 7.2 | status | 订单状态 | integer | 2 | 必填 | 订单状态: 0 待配货 1 待完成 2 已完成 |
| 7.3 | type | 单据类型 | string | 1 | 必填 | 单据类型: 1 加工单 2 拆分单 |
| 7.4 | ware_house_name | 仓库名称 | string | 默认仓库 | 必填 | 仓库名称 |
| 7.5 | wid | 仓库id | integer | 1 | 必填 | 仓库id |
| 7.6 | create_by | 创建人id | integer | 111 | 必填 | 创建人id |
| 7.7 | create_realname | 创建人名称 | string | 验证账户2 | 必填 | 创建人名称 |
| 7.8 | create_time | 创建时间 | string | 2023-03-24 00:55:36 | 必填 | 创建时间 |
| 7.9 | finish_realname | 最后操作人 | string | 验证账户2 | 必填 | 最后操作人 |
| 7.10 | finish_time | 最后操作时间 | string | 2023-03-26 22:46:51 | 必填 | 最后操作时间 |
| 7.11 | finish_uid | 最后操作人id | integer | 111 | 必填 | 最后操作人id |
| 7.12 | remark | 备注 | string | 备注 | 必填 | 备注 |
| 7.13 | update_time | 更新时间 | string | 2023-03-24 00:55:36 | 必填 | 更新时间 |
| 7.14 | product_list | 组合品项 | array<object> | — | 必填 | 组合品项 |
| 7.14.1 | sku | 组合品sku | string | niubao | 必填 | 组合品sku |
| 7.14.2 | product_name | 组合品产品名称 | string | 早餐 | 必填 | 组合品产品名称 |
| 7.14.3 | fnsku | 组合品fnksu | string | fnsku | 必填 | 组合品fnksu |
| 7.14.4 | seller_id | 组合品店铺id | integer | 3 | 必填 | 组合品店铺id |
| 7.14.5 | seller_name | 组合品店铺名称 | string | 店铺1 | 必填 | 组合品店铺名称 |
| 7.14.6 | sync_price | 单位入库成本 | string | 0.0000 | 必填 | 单位入库成本 |
| 7.14.7 | sync_amount | 入库成本 | string | 0.00 | 必填 | 入库成本 |
| 7.14.8 | process_fee | 加工费 | string | 0.000000 | 必填 | 加工费 |
| 7.14.9 | remark | 备注 | string | 默认备注 | 必填 | 备注 |
| 7.14.10 | whb_code_good | 加工单组合品入库仓位 | array<object> | [] | 必填 | 加工单组合品入库仓位 |
| 7.14.10.1 | whb_code | 仓位编码 | string | ts_valid | 可选 | 仓位编码 |
| 7.14.10.2 | whb_code_name | 仓位名 | string | 可用暂存 | 可选 | 仓位名 |
| 7.14.10.3 | whb_num | 数量 | integer | 1 | 可选 | 数量 |
| 7.14.11 | pic_url | 组合品图片 | string | https://image.distxxx.com/xxx/9dc0c077bc5c2.jpg | 必填 | 组合品图片 |
| 7.14.12 | quantity | 加工量/拆分量 | integer | 1 | 必填 | 加工量/拆分量 |
| 7.14.13 | item_list | 单品明细项 | array<object> | — | 必填 | 单品明细项 |
| 7.14.13.1 | sku | 单品sku | string | sku1 | 必填 | 单品sku |
| 7.14.13.2 | product_name | 单品名称 | string | 鸡蛋 | 必填 | 单品名称 |
| 7.14.13.3 | fnsku | 单品fnsku | string | fnsku | 必填 | 单品fnsku |
| 7.14.13.4 | quantity_process | 单品加工量/拆分量 | integer | 2 | 必填 | 单品加工量/拆分量 |
| 7.14.13.5 | sync_price | 单位出库成本 | string | 0.0000 | 必填 | 单位出库成本 |
| 7.14.13.6 | sync_amount | 出库成本 | string | 0.00 | 必填 | 出库成本 |
| 7.14.13.7 | seller_id | 单品店铺id | integer | 33 | 必填 | 单品店铺id |
| 7.14.13.8 | seller_name | 单品店铺名 | string | 店铺1 | 必填 | 单品店铺名 |
| 7.14.13.9 | whb_code_good | 拆分单品入库仓位 | array<object> | [] | 必填 | 拆分单品入库仓位 |
| 7.14.13.9.1 | whb_code | 仓位编码 | string | ts_valid | 可选 | 仓位编码 |
| 7.14.13.9.2 | whb_code_name | 仓位名 | string | 可用暂存 | 可选 | 仓位名 |
| 7.14.13.9.3 | whb_num | 数量 | integer | 1 | 可选 | 数量 |
领星ERP的接口:加工单列表(/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。