接口 operators.depot.journal.list

接口说明

库存流水列表

业务参数

参数名称 类型 是否必须 说明
page int N 页数
pageSize int N 条数
criteria Object N 过滤条件
criteria.DepotID String N 仓库 id
criteria.ReceiptType int N 单据类型 1:采购入库 2:采购退库
criteria.BarCode String N 商品条码
criteria.DateRange String N 时间范围

请求示例

{
    "method": "operators.depot.journal.list",
    "biz_content": {
        "page": 1,
        "pageSize": 10,
        "criteria": {
            "DepotID": "69c39945314d630011fc2b8c",
            "ReceiptType": 2,
            "BarCode": "9555613800451",
            "DateRange": "2019-04-23 - 2019-04-24",
        },
    }
}

返回结果

参数名称 类型 说明
- - -

返回示例

{
    "error_code": 0,
    "error_msg": "SUCCESS"
    "data": {
        "total": 176,
        "per_page": 10,
        "current_page": 1,
        "last_page": 18,
        "from": 0,
        "to": 10,
        "data": [{
            "OID": "5a1e1b3a2928b400124ab1f3",
            "DepotID": "69c39945314d630011fc2b8c",
            "ReceiptType": 1, // 单据类型  1:采购入库
            "ReceiptNo": "CG19042409390973846", // 单据号
            "BarCode": "9555613800451",
            "Qty": 6, // 数量
            "Price": 20, // 价格 单位:分
            "BeforeQty": 19, // 操作前商品在仓库的数量
            "AfterQty": 25, // 操作后商品在仓库的数量
            "Status": 1,
            "CreateAt": 1556069949,
            "UpdatedAt": 1556069949,
            "id": "5cbfbe3dfb10c230652fa89b",
            "TotalPrice": 120,
            "DepotVO": {
                "Name": "仓库"
            },
            "ProductVO": {
                "Name": "果汁饮料350ml"
            }
        }, {...}]
    }
}
Copyright © YoPoint.com 2019 all right reserved,powered by Gitbook该文件修订时间: 2024-01-04 16:21:22

results matching ""

    No results matching ""