开放平台

简要描述:

  • 全部委外详情

请求URL:

  • http://lbl-open.thinkerx.com/api/lbl/methods/allOrderMaterialOutList

请求方式:

  • GET

参数:


参数名
必选类型说明
login_tokenstring通行证
factory_idstring单库工厂必填id
user_idstring操作人
fog_idsstring合同id,使用","拼接多个

返回示例

{
    "return": 0,                        // 接口返回状态 0=成功
    "error": "",                        // 错误信息
    "data": {                           // 数据主体
        "supplier_list": [              // 供应商列表
            {
                "id": "11",                        // 供应商ID
                "name": "希美克(广州)实业有限公司" // 供应商名称
            },
            {
                "id": "184",                       // 供应商ID
                "name": "111"                      // 供应商名称
            }
        ],
        "order_list": [                 // 合同列表信息
            {
                "group_code": "FG20260122-1",      // 分组/合同编号
                "id": "4462",                      // 订单ID
                "order_code": "20260122-70",       // 订单编号
                "group_order_code": "20260122-70"  // 分组订单编号
            }
        ],
        "list": {                        // 当前委外数据
            "panel_data": [              // 板材委外单
                {
                    "id": "303",                        // 委外单ID
                    "factory_id": "1",                  // 工厂ID
                    "order_ids": "4462",               // 关联订单ID
                    "out_code": "CLWW20260224-7",       // 委外出库单号
                    "create_time": "2026-02-24",       // 创建日期
                    "money_sum": "0.000",              // 总金额
                    "money_pay": "0.000",              // 已付金额
                    "money_odd": "0.000",              // 未付金额
                    "handler_id": "1",                 // 经办人ID
                    "handler_name": "admin",           // 经办人名称
                    "reviewer_id": "0",                // 审核人ID
                    "reviewer_name": "",               // 审核人名称
                    "supplier_id": "0",                // 供应商ID
                    "supplier_name": "",               // 供应商名称
                    "out_type": "",                    // 出库类型
                    "status": "1",                     // 单据状态
                    "wh_type": "5",                    // 仓库类型 5=板材
                    "out_note": "",                    // 出库备注
                    "in_status": "1",                  // 入库状态
                    "out_status": "1",                 // 出库状态
                    "min_area": "0.000",               // 最小面积
                    "expected_date": null,             // 预计归还日期
                    "other_money": "0.00",             // 其他费用
                    "order_material_out_gather_id": "0", // 汇总出库单ID
                    "is_sent": "0",                    // 是否已发货
                    "confirm_time": null,              // 确认时间
                    "created_at": "2026-02-24 14:24:09", // 创建时间
                    "glass_company_code": null,        // 玻璃公司编码
                    "storage_total_package": "0",      // 总包装数
                    "send_status": "0",                // 发货状态
                    "appoint_pay_at": null,            // 约定付款时间
                    "erect_money": "0.00",             // 安装费用
                    "last_in_time": "1970-01-01",      // 最后入库时间
                    "out_detail_rows": [               // 委外单详情
                        {
                            "id": "400",                      // 出库明细ID
                            "out_group_id": "303",            // 出库单ID
                            "wh_name": "",                    // 物料名称
                            "wh_color": "",                   // 物料颜色
                            "wh_length": "0.000",             // 物料长度
                            "wh_thickness": "0.000",          // 物料厚度
                            "wh_location": null,              // 库位
                            "order_id": "4462",               // 订单ID
                            "order_code": "20260122-70",      // 订单编号
                            "total_count": "0.000",           // 总数量
                            "in_count": "0.000",              // 已入库数量
                            "out_count": "0.000",             // 已出库数量
                            "cc_glass_type": "",              // 玻璃类型
                            "out_note": "",                   // 备注
                            "wh_type": "5",                  // 仓库类型
                            "wh_width": "0.000",             // 物料宽度
                            "wh_price": "0.000",             // 物料单价
                            "wh_count_type": "1",            // 数量类型
                            "wh_unit": "",                   // 单位
                            "wh_money": "0.000",             // 物料金额
                            "create_time": "2026-02-24 14:24:11", // 创建时间
                            "thing_id": "0",                 // 物品ID
                            "other_money": "0.00",           // 其他费用
                            "other_money_detail": "",        // 其他费用详情
                            "out_code": "",                  // 出库单号
                            "jg_color": null,                // 加工颜色
                            "jg_hx_price": null,              // 加工花型价格
                            "jg_color_price": null,          // 加工颜色价格
                            "jg_hx_type": null,              // 加工花型类型
                            "jg_color_type": null,           // 加工颜色类型
                            "jg_count": null,                // 加工数量
                            "wh_panel_id": null,             // 板材ID
                            "out_quantity": null,            // 出库数量
                            "jg_area": null,                 // 加工面积
                            "wh_spec": "",                   // 物料规格
                            "origin": "normal",              // 来源
                            "seo_material_id": "0",         // 物料ID
                            "wh_bom_code": "",              // BOM编码
                            "apply_id": "0",                 // 申请单ID
                            "apply_detail_id": "0",         // 申请明细ID
                            "cc_outitem_glass_id": "0",     // 玻璃出库单ID
                            "cc_outitem_glass_item_id": "0", // 玻璃出库明细ID
                            "order_info": null,              // 订单信息
                            "jg_bom_id": "0",               // 加工BOM ID
                            "outitem_id": "0",              // 出库项ID
                            "back_date": null,              // 归还日期
                            "order_material_out_gather_detail_id": "0", // 汇总出库明细ID
                            "out_gather_id": "0",           // 汇总出库ID
                            "is_sketch": "0",               // 是否草图
                            "glass_purchase_cart_id": null, // 玻璃采购车ID
                            "wh_area": 0,                   // 物料面积
                            "last_in_time": null,           // 最后入库时间
                            "money_type": null,             // 金额类型
                            "warehouse_id": "0",            // 仓库ID
                            "room": null,                   // 房间
                            "cabinet": null,                // 柜体
                            "over_state": "0",              // 超发状态
                            "panel_out_type": "",           // 板材出库类型
                            "panel_kaixaing": "",          // 板材开向
                            "hinge_hole": "",              // 铰链孔
                            "is_send": "0",                 // 是否已发送
                            "is_installed": "0",            // 是否安装
                            "erect_price": "0.00",          // 安装单价
                            "erect_total_money": "0.00",    // 安装总费用
                            "price": "0.000"                // 单价
                        }
                    ]
                }
            ],
            "addon_data": [              // 配件委外单
                {
                    "id": "298",                        // 委外单ID
                    "factory_id": "1",                  // 工厂ID
                    "order_ids": "4462",               // 关联订单ID
                    "out_code": "CLWW20260224-6",       // 委外出库单号
                    "create_time": "2026-02-24",       // 创建日期
                    "money_sum": "0.000",              // 总金额
                    "money_pay": "0.000",              // 已付金额
                    "money_odd": "0.000",              // 未付金额
                    "handler_id": "1",                 // 经办人ID
                    "handler_name": "admin",           // 经办人名称
                    "reviewer_id": "0",                // 审核人ID
                    "reviewer_name": "",               // 审核人名称
                    "supplier_id": "0",                // 供应商ID
                    "supplier_name": "",               // 供应商名称
                    "out_type": "",                    // 出库类型
                    "status": "1",                     // 单据状态
                    "wh_type": "4",                    // 仓库类型 4=配件
                    "out_note": "",                    // 出库备注
                    "in_status": "1",                  // 入库状态
                    "out_status": "1",                 // 出库状态
                    "min_area": "0.000",               // 最小面积
                    "expected_date": null,             // 预计归还日期
                    "other_money": "0.00",             // 其他费用
                    "order_material_out_gather_id": "0", // 汇总出库单ID
                    "is_sent": "0",                    // 是否已发货
                    "confirm_time": null,              // 确认时间
                    "created_at": "2026-02-24 14:01:22", // 创建时间
                    "glass_company_code": null,        // 玻璃公司编码
                    "storage_total_package": "0",      // 总包装数
                    "send_status": "0",                // 发货状态
                    "appoint_pay_at": null,            // 约定付款时间
                    "erect_money": "0.00",             // 安装费用
                    "last_in_time": "1970-01-01",      // 最后入库时间
                    "out_detail_rows": [               // 配件委外单详情
                        {
                            "id": "395",                      // 出库明细ID
                            "out_group_id": "298",            // 出库单ID
                            "wh_name": "",                    // 物料名称
                            "wh_color": "",                   // 物料颜色
                            "wh_length": "0.000",             // 物料长度
                            "wh_thickness": "0.000",          // 物料厚度
                            "wh_location": null,              // 库位
                            "order_id": "4462",               // 订单ID
                            "order_code": "20260122-70",      // 订单编号
                            "total_count": "0.000",           // 总数量
                            "in_count": "0.000",              // 已入库数量
                            "out_count": "0.000",             // 已出库数量
                            "cc_glass_type": "",              // 玻璃类型
                            "out_note": "",                   // 备注
                            "wh_type": "4",                  // 仓库类型
                            "wh_width": "0.000",             // 物料宽度
                            "wh_price": "0.000",             // 物料单价
                            "wh_count_type": "1",            // 数量类型
                            "wh_unit": "",                   // 单位
                            "wh_money": "0.000",             // 物料金额
                            "create_time": "2026-02-24 14:01:30", // 创建时间
                            "thing_id": "0",                 // 物品ID
                            "other_money": "0.00",           // 其他费用
                            "other_money_detail": "",        // 其他费用详情
                            "out_code": "",                  // 出库单号
                            "jg_color": null,                // 加工颜色
                            "jg_hx_price": null,              // 加工花型价格
                            "jg_color_price": null,          // 加工颜色价格
                            "jg_hx_type": null,              // 加工花型类型
                            "jg_color_type": null,           // 加工颜色类型
                            "jg_count": null,                // 加工数量
                            "wh_panel_id": null,             // 板材ID
                            "out_quantity": null,            // 出库数量
                            "jg_area": null,                 // 加工面积
                            "wh_spec": "",                   // 物料规格
                            "origin": "normal",              // 来源
                            "seo_material_id": "0",         // 物料ID
                            "wh_bom_code": "",              // BOM编码
                            "apply_id": "0",                 // 申请单ID
                            "apply_detail_id": "0",         // 申请明细ID
                            "cc_outitem_glass_id": "0",     // 玻璃出库单ID
                            "cc_outitem_glass_item_id": "0", // 玻璃出库明细ID
                            "order_info": null,              // 订单信息
                            "jg_bom_id": "0",               // 加工BOM ID
                            "outitem_id": "0",              // 出库项ID
                            "back_date": null,              // 归还日期
                            "order_material_out_gather_detail_id": "0", // 汇总出库明细ID
                            "out_gather_id": "0",           // 汇总出库ID
                            "is_sketch": "0",               // 是否草图
                            "glass_purchase_cart_id": null, // 玻璃采购车ID
                            "wh_area": 0,                   // 物料面积
                            "last_in_time": null,           // 最后入库时间
                            "money_type": null,             // 金额类型
                            "warehouse_id": "0",            // 仓库ID
                            "room": null,                   // 房间
                            "cabinet": null,                // 柜体
                            "over_state": "0",              // 超发状态
                            "panel_out_type": null,         // 板材出库类型
                            "panel_kaixaing": null,        // 板材开向
                            "hinge_hole": null,             // 铰链孔
                            "is_send": "0",                 // 是否已发送
                            "is_installed": "0",            // 是否安装
                            "erect_price": "0.00",          // 安装单价
                            "erect_total_money": "0.00",    // 安装总费用
                            "price": "0.000"                // 单价
                        }
                    ]
                }
            ]
        },
        "order_group": [                 // 合同 (原全部委外左侧数据)
            {
                "finance_order_group_id": "2027",  // 财务分组ID
                "ggcode": null,                    // 柜柜单号
                "group_code": "FG20260122-1",      // 分组编号
                "buyer_address": "",               // 业主地址
                "panel_data": [],                  // 板材数据
                "addon_data": [                    // 配件数据
                    {
                        "finance_order_group_id": "2027",  // 财务分组ID
                        "ggcode": null,                    // 柜柜单号
                        "buyer_address": "",               // 业主地址
                        "order_id": "4462",                // 订单ID
                        "group_code": "FG20260122-1",      // 分组编号
                        "order_code": "20260122-70",       // 订单编号
                        "outitem_addon_id": "9677",        // 配件出库项ID
                        "name": "33",                     // 配件名称
                        "count": 44,                      // 数量
                        "color": null,                    // 颜色
                        "is_material_out": "1",            // 是否已出库
                        "unit": "444",                    // 单位
                        "spec": "444",                    // 规格
                        "is_show": "1"                    // 是否显示
                    }
                ]
            }
        ]
    }
}

返回参数说明

参数名类型说明
statusint状态码 0成功 1失败
messagestr返回信息
dataarray账号数据














新格尔累计为
7368555
位用户提供服务

客服热线

联系电话:400-1567-080

微信咨询

扫码在线咨询
企微官网客服在线随时答复

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号