Lingxing
切换旧版

查询调拨单列表

POST/erp/sc/routing/inventoryReceipt/StorageAllocation/getStorageAllocationList

支持查询本地仓库调拨单列表

接口信息

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

请求参数

widstring
出库仓库id,多个以英文逗号分隔
to_widstring
入库仓库id,多个以英文逗号分隔
search_date_typeinteger
时间类型:【不传或传空则默认为 1】
1 创建时间
2 调拨时间
3 完成时间
4 更新时间
start_datestring
开始日期,格式:Y-m-d,只有和结束日期同时有值才会生效
end_datestring
结束日期,格式:Y-m-d,只有和开始日期同时有值才会生效
pageinteger
当前页码,默认1
page_sizeinteger
分页条数,默认15

请求示例

{
    "wid": "432",
    "to_wid": "581",
    "search_date_type": 1,
    "start_date": "2024-07-25",
    "end_date": "2024-07-30",
    "page": 1,
    "page_size": 15
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 86C7B3F5-C488-9BA4-EBD9-5E0525E51699
response_timestring必填
响应时间
示例 2022-06-25 11:24:44
dataarray<object>必填
响应数据
隐藏子属性
order_snstring必填
单据号
示例 TF220624002
widinteger必填
出库仓库id
示例 11
to_widinteger必填
入库仓库id
示例 1
opt_uidinteger必填
操作人(用户id)
示例 175
opt_timestring必填
操作时间
示例 2022-06-24 18:05
order_amountnumber必填
订单金额
示例 0
out_bin_typeinteger必填
出仓类型:
0 不指定仓位
1 指定仓位
ware_house_bak_namestring必填
出库仓库名称
示例 仓库11
to_ware_house_bak_namestring必填
入库仓库名称
示例 仓库1
statusinteger必填
单据状态:
5-待提交
10 待调拨
19 待收货
20 已完成
30 已删除
121 待审批
122 已驳回
示例 20
status_textstring必填
单据状态文本
示例 已完成
create_timestring必填
创建时间
示例 2022-06-24 18:05:46
create_uidinteger必填
创建人(用户id)
示例 175
transfer_timestring必填
操作调拨时间
示例 2022-06-24 18:05:46
transfer_uidinteger必填
操作调拨人(用户id)
示例 175
remarkstring必填
单据备注
freight_feenumber必填
运费
示例 0
other_feenumber必填
其他费用
示例 0
fee_part_typeinteger必填
费用分摊方式:
0 不分摊
1 按金额分摊
2 按sku数量分摊
3 按重量
4 按体积
5 按自定义
示例 1
typeinteger必填
调拨类型:1-简易调拨;2-完整调拨
示例 1
receive_uidinteger必填
确认收货操作人(用户id)
receive_timestring必填
确认收货收货时间
finish_timestring必填
单据完成时间
示例 2022-06-24 18:05:46
finish_uidinteger必填
单据完成操作人(用户id)
示例 175
increment_timestring必填
单据更新时间
示例 "2025-02-11 10:49:37"
outbound_order_snstring必填
关联的出库单单号
示例 OB220624004
inbound_order_snstring必填
关联的入库单单号
示例 IB220624016
opt_realnamestring必填
操作人姓名
示例 JSTAPI
create_realnamestring必填
创建人姓名
示例 JSTAPI
transfer_realnamestring必填
确认调拨操作人姓名
示例 JSTAPI
receive_realnamestring必填
确认收货操作人姓名
finish_realnamestring必填
单据完成操作人姓名
示例 JSTAPI
fee_part_type_textstring必填
费用分摊方式文本
示例 不分配
out_bin_type_textstring必填
出仓方式文本
示例 不指定仓位
item_listarray<object>必填
产品明细列表
隐藏子属性
product_idinteger必填
产品id
示例 2117165
skustring必填
SKU
示例 2022052702
fnskustring必填
FNSKU
product_totalinteger必填
调拨总量
示例 1
product_good_numinteger必填
调拨可用量
示例 1
product_bad_numinteger必填
调拨次品量
pricenumber必填
单价
示例 0
amountnumber必填
货值
示例 0
seller_idinteger必填
店铺id
to_available_binstring必填
入库可用仓位编码
示例 ts_valid
to_inferior_binstring必填
入库次品仓位编码
示例 ts_bad
seller_namestring必填
店铺名称
country_namestring必填
店铺所属国家名称
product_namestring必填
品名
示例 2022052702
in_available_storage_bin_codestring必填
入库可用仓位名称
示例 可用暂存
in_inferior_storage_bin_codestring必填
入库次品仓位名称
outboundListarray<object>必填
出库仓位列表
隐藏子属性
whb_codestring必填
仓位编码
示例 ts_valid
whb_code_namestring必填
仓位名称
示例 可用暂存
product_numinteger必填
出仓数量
示例 1
whb_typeinteger必填
仓位类型
示例 2
whb_type_namestring必填
仓位类型名称
示例 可用暂存
out_stock_coststring必填
出库单位费用
示例 0.0000
pic_urlstring必填
产品图片链接
cg_package_lengthnumber必填
包装规格-长(CM)
示例 0
cg_package_widthnumber必填
包装规格-宽(CM)
示例 0
cg_package_heightnumber必填
包装规格-高(CM)
示例 0
cg_product_gross_weightnumber必填
单品净重
示例 0
freight_fee_unitnumber必填
单位运费
示例 1
other_fee_unitnumber必填
单位其他费用
示例 1
product_remarkstring必填
产品备注
示例 产品备注
out_available_bin_listarray<object>必填
出库可用仓位列表
隐藏子属性
whb_codestring必填
仓位编码
示例 ts_valid
whb_typeinteger必填
仓位类型
示例 2
whb_code_namestring必填
仓位名称
示例 可用暂存
whb_type_namestring必填
仓位类型文本
示例 可用暂存
product_numinteger必填
出库可用量
示例 1
out_inferior_bin_listarray<object>必填
出库次品仓位列表
隐藏子属性
whb_codestring必填
仓位编码
示例 RB-001
whb_typeinteger必填
仓位类型
示例 6
whb_code_namestring必填
仓位名称
示例 RB-001
whb_type_namestring必填
仓位类型文本
示例 次品
product_numinteger必填
出库次品量
示例 2
in_available_bin_listarray<object>必填
入库可用仓位列表
隐藏子属性
whb_codestring必填
仓位编码
示例 ts_valid
whb_typeinteger必填
仓位类型
示例 2
whb_code_namestring必填
仓位名称
示例 可用暂存
whb_type_namestring必填
仓位类型文本
示例 可用暂存
product_numinteger必填
入库可用量
示例 1
in_inferior_bin_listarray<object>必填
入库次品仓位列表
隐藏子属性
whb_codestring必填
仓位编码
示例 ts_bad
whb_typeinteger必填
仓位类型
示例 3
whb_code_namestring必填
仓位名称
示例 次品暂存
whb_type_namestring必填
仓位类型文本
示例 次品暂存
product_numinteger必填
入库次品量
示例 2
goodTotalNuminteger必填
订单可用调拨总量
示例 1
badTotalNuminteger必填
订单次品调拨总量
totalinteger必填
查询总数
示例 1

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "E9DE57E4-C265-7434-874B-C890A10BF515",
    "response_time": "2022-12-14 17:54:53",
    "data": [
        {
            "order_sn": "TF221214002",
            "wid": 1,
            "to_wid": 11,
            "opt_uid": 129130,
            "opt_time": "2022-12-14 17:49",
            "order_amount": "0.000000",
            "out_bin_type": 1,
            "ware_house_bak_name": "仓库1",
            "to_ware_house_bak_name": "仓库11",
            "status": 5,
            "create_time": "2022-12-14 15:36:02",
            "create_uid": 129130,
            "transfer_time": "",
            "transfer_uid": 0,
            "remark": "",
            "freight_fee": "0.00",
            "other_fee": "0.00",
            "fee_part_type": 0,
            "type": 2,
            "receive_uid": 0,
            "receive_time": "",
            "finish_time": "",
            "finish_uid": 0,
            "increment_time": "2022-12-14 10:49:37",
            "outbound_order_sn": null,
            "inbound_order_sn": null,
            "opt_realname": "欧树权",
            "create_realname": "欧树权",
            "transfer_realname": "",
            "receive_realname": "",
            "finish_realname": "",
            "fee_part_type_text": "不分配",
            "out_bin_type_text": "指定仓位",
            "status_text": "待提交",
            "item_list": [
                {
                    "product_id": 2124879,
                    "sku": "rwb-chanpin2",
                    "fnsku": "",
                    "product_total": 3,
                    "product_good_num": 1,
                    "product_bad_num": 2,
                    "price": "0.000000",
                    "amount": "0.000000",
                    "seller_id": 0,
                    "cg_package_length": "0.00",
                    "cg_package_width": "0.00",
                    "cg_package_height": "0.00",
                    "cg_product_gross_weight": "0.00",
                    "freight_fee_unit": "0.0000",
                    "other_fee_unit": "0.0000",
                    "to_available_bin": "",
                    "to_inferior_bin": "",
                    "product_remark": "",
                    "seller_name": "",
                    "country_name": "",
                    "product_name": "rwb-chanpin2",
                    "out_available_bin_list": [
                        {
                            "whb_code": "ts_valid",
                            "whb_type": 2,
                            "whb_code_name": "可用暂存",
                            "whb_type_name": "可用暂存",
                            "product_num": 1,
                            "product_id": 2124879,
                            "sku": "rwb-chanpin2",
                            "seller_id": 0,
                            "fnsku": ""
                        }
                    ],
                    "out_inferior_bin_list": [
                        {
                            "whb_code": "RB-001",
                            "whb_type": 6,
                            "whb_code_name": "RB-001",
                            "whb_type_name": "次品",
                            "product_num": 2,
                            "product_id": 2124879,
                            "sku": "rwb-chanpin2",
                            "seller_id": 0,
                            "fnsku": ""
                        }
                    ],
                    "in_available_bin_list": [
                        {
                            "whb_code": "ts_valid",
                            "whb_type": 2,
                            "whb_code_name": "可用暂存",
                            "whb_type_name": "可用暂存",
                            "product_num": 1,
                            "product_id": 2124879,
                            "sku": "rwb-chanpin2",
                            "seller_id": 0,
                            "fnsku": ""
                        }
                    ],
                    "in_inferior_bin_list": [
                        {
                            "whb_code": "ts_bad",
                            "whb_type": 3,
                            "whb_code_name": "次品暂存",
                            "whb_type_name": "次品暂存",
                            "product_num": 2,
                            "product_id": 2124879,
                            "sku": "rwb-chanpin2",
                            "seller_id": 0,
                            "fnsku": ""
                        }
                    ],
                    "in_available_storage_bin_code": "",
                    "in_inferior_storage_bin_code": "",
                    "outboundList": [
                        {
                            "whb_code": "ts_valid",
                            "whb_type": 2,
                            "whb_code_name": "可用暂存",
                            "whb_type_name": "可用暂存",
                            "product_num": 1,
                            "product_id": 2124879,
                            "sku": "rwb-chanpin2",
                            "seller_id": 0,
                            "fnsku": ""
                        },
                        {
                            "whb_code": "RB-001",
                            "whb_type": 6,
                            "whb_code_name": "RB-001",
                            "whb_type_name": "次品",
                            "product_num": 2,
                            "product_id": 2124879,
                            "sku": "rwb-chanpin2",
                            "seller_id": 0,
                            "fnsku": ""
                        }
                    ],
                    "out_stock_cost": "0.0000",
                    "pic_url": "https://image.distributetop.com/erp-vue/90124993550340096/20221206/f1bb7ed736e249cc969ad70c8a5d148c.jpeg"
                }
            ],
            "goodTotalNum": 1,
            "badTotalNum": 2
        }
    ],
    "total": 1
}