接口 operators.sorting.goods.detail

接口说明

获取分拣单详情

业务参数

参数名称 类型 是否必须 说明
receiptNo string N 订单号

返回示例

{
    "error_code": 0,
    "error_msg": "SUCCESS",
    "data": {
                "id": "63fc1bfc713a6900100c5e94",
                "operatorId": "5db266d87bd4810010954b0e", // 运营商id
                "operatorName": "研发测试自取柜", // 运营商名称
                "depotId": "5db266d87bd4810010954b10", // 仓库id
                "depotName": "默认仓库(山西太原小店)", // 仓库名称
                "receiptNo": "FJ23022710570035093", // 分拣单号
                "goodsItems": [
                    {
                        "deviceId": "5f4ef60fe107ed001129eb53", // 设备id
                        "deviceCode": "212", // 设备编码
                        "deviceType": 2, // 设备类型 1=售货机 2=自取柜
                        "code": "999010412675", // 设备生产编码
                        "extraPercent": 0, // 多拿比例
                        "totalOutStock": 0, // 缺货数
                        "outStockPercent": 0, // 缺货比例
                        "totalSoldOut": 13, // 断货数
                        "outStockWaring": true, // 缺货报警
                        "skus": [
                            {
                                "barcode": "6970399920415",
                                "name": "元气森林白桃味苏打气泡水480ml",
                                "outStock": 1, // 缺货数
                                "stock": 0, // 设备库存
                                "capacity": 1, // 设备容量
                                "extra": 0, // 多带数
                                "sorting": 1, // 分拣数
                                "sortingType": 0, // 分拣类型 0=未知 1=新品 2=上架
                                "shelf": ""// 商品货架号
                            },
                        ...
                        ],
                        "deviceName": "二十一", // 设备名称
                        "totalSorting": 7 // 分拣数
                    },
                ...
                ],
                "depotItems": [ // 仓库当时库存情况
                    {
                        "barcode": "6970399920415",
                        "lastPurchaseBoxGauge": 100,// 箱规
                        "stock": 1 // 库存数
                    },
                    {
                        "barcode": "6970399920057",
                        "lastPurchaseBoxGauge": 1,
                        "stock": 3446
                    },
                    {
                        "barcode": "6954767432076",
                        "lastPurchaseBoxGauge": 10,
                        "stock": 6336547
                    },
                    {
                        "barcode": "6954767430386",
                        "lastPurchaseBoxGauge": 24,
                        "stock": 115
                    },
                    {
                        "barcode": "6954767410586",
                        "lastPurchaseBoxGauge": 25,
                        "stock": 1429
                    },
                    {
                        "barcode": "6937451831751",
                        "lastPurchaseBoxGauge": 20,
                        "stock": 1450
                    },
                    {
                        "barcode": "6932601500020",
                        "lastPurchaseBoxGauge": 24,
                        "stock": 14032
                    },
                    {
                        "barcode": "6932419310156",
                        "lastPurchaseBoxGauge": 60,
                        "stock": 35045
                    },
                    {
                        "barcode": "6928804014686",
                        "lastPurchaseBoxGauge": 30,
                        "stock": 73
                    },
                    {
                        "barcode": "6928804011296",
                        "lastPurchaseBoxGauge": 20,
                        "stock": 72866
                    },
                    {
                        "barcode": "6928804011142",
                        "lastPurchaseBoxGauge": 30,
                        "stock": 1764
                    },
                    {
                        "barcode": "6922858201177",
                        "lastPurchaseBoxGauge": 25,
                        "stock": 9705
                    },
                    {
                        "barcode": "6921168509256",
                        "lastPurchaseBoxGauge": 24,
                        "stock": 28664
                    },
                    {
                        "barcode": "6902538004045",
                        "lastPurchaseBoxGauge": 20,
                        "stock": 3217
                    },
                    {
                        "barcode": "4897036691175",
                        "lastPurchaseBoxGauge": 35,
                        "stock": 1944
                    }
                ],
                "pickUpOrderReceiptNo": "TH23022710570015289", // 提货单号
                "replenishmentAccountId": "5d257adbe4263f00119eb553", // 补货员id
                "replenishmentAccountName": "王浩", // 补货员名称
                "creator": "5d258386e4263f00119ebcff", // 制单人id
                "creatorName": "张杰", // 制单人名称
                "totalSorting": 22, // 分拣商品数
                "createdAt": 1677466620, // 制单时间
                "updatedAt": 1677466620,
                "version": 0,
                "deviceCount": 2 // 涉及设备数
            }
}
Copyright © YoPoint.com 2019 all right reserved,powered by Gitbook该文件修订时间: 2024-01-04 16:21:22

results matching ""

    No results matching ""