Lingxing
切换旧版

加工单列表

POST/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderLists

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/inventoryReceipt/StorageProcess/getOrderListsHTTPSPOST1

请求参数

typeinteger必填
单据类型:1加工单,2拆分单
widstring
仓库id,多个用英文逗号分隔
process_snstring
加工单号,多个用英文逗号分隔
statusinteger
加工状态:
0 待配货
1 待完成
2 已完成
search_field_timestring
时间搜索维度:
create_time 创建时间
finish_time 完成时间
update_time 更新时间
start_datestring
开始时间,格式:Y-m-d
end_datestring
结束时间,格式:Y-m-d
offsetinteger必填
分页偏移量,默认0
lengthinteger必填
分页长度,默认500

请求示例

{
    "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"
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
结果
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 160B52C9-2B20-2A28-75E9-548C96A90565
response_timestring必填
响应时间
示例 2023-03-28 09:59:00
totalinteger必填
单据总数
示例 200
dataarray<object>必填
响应数据
隐藏子属性
process_snstring必填
加工/拆分单号
示例 PT230324003
statusinteger必填
订单状态:
0 待配货
1 待完成
2 已完成
示例 2
typestring必填
单据类型:
1 加工单
2 拆分单
示例 1
ware_house_namestring必填
仓库名称
示例 默认仓库
widinteger必填
仓库id
示例 1
create_byinteger必填
创建人id
示例 111
create_realnamestring必填
创建人名称
示例 验证账户2
create_timestring必填
创建时间
示例 2023-03-24 00:55:36
finish_realnamestring必填
最后操作人
示例 验证账户2
finish_timestring必填
最后操作时间
示例 2023-03-26 22:46:51
finish_uidinteger必填
最后操作人id
示例 111
remarkstring必填
备注
示例 备注
update_timestring必填
更新时间
示例 2023-03-24 00:55:36
product_listarray<object>必填
组合品项
隐藏子属性
skustring必填
组合品sku
示例 niubao
product_namestring必填
组合品产品名称
示例 早餐
fnskustring必填
组合品fnksu
示例 fnsku
seller_idinteger必填
组合品店铺id
示例 3
seller_namestring必填
组合品店铺名称
示例 店铺1
sync_pricestring必填
单位入库成本
示例 0.0000
sync_amountstring必填
入库成本
示例 0.00
process_feestring必填
加工费
示例 0.000000
remarkstring必填
备注
示例 默认备注
whb_code_goodarray<object>必填
加工单组合品入库仓位
示例 []
隐藏子属性
whb_codestring
仓位编码
示例 ts_valid
whb_code_namestring
仓位名
示例 可用暂存
whb_numinteger
数量
示例 1
pic_urlstring必填
组合品图片
示例 https://image.distxxx.com/xxx/9dc0c077bc5c2.jpg
quantityinteger必填
加工量/拆分量
示例 1
item_listarray<object>必填
单品明细项
隐藏子属性
skustring必填
单品sku
示例 sku1
product_namestring必填
单品名称
示例 鸡蛋
fnskustring必填
单品fnsku
示例 fnsku
quantity_processinteger必填
单品加工量/拆分量
示例 2
sync_pricestring必填
单位出库成本
示例 0.0000
sync_amountstring必填
出库成本
示例 0.00
seller_idinteger必填
单品店铺id
示例 33
seller_namestring必填
单品店铺名
示例 店铺1
whb_code_goodarray<object>必填
拆分单品入库仓位
示例 []
隐藏子属性
whb_codestring
仓位编码
示例 ts_valid
whb_code_namestring
仓位名
示例 可用暂存
whb_numinteger
数量
示例 1

返回成功示例

{
    "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
}