简要描述:
全部委外详情
请求URL:
http://lbl-open.thinkerx.com/api/lbl/methods/allOrderMaterialOutList
请求方式:
GET
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| factory_id | 否 | string | 单库工厂必填id |
| user_id | 是 | string | 操作人 |
| fog_ids | 是 | string | 合同id,使用","拼接多个 |
返回示例
{
"return": 0,
"error": "",
"data": {
"supplier_list": [ // 供应商列表
{
"id": "11",
"name": "希美克(广州)实业有限公司"
}
{
"id": "184",
"name": "111"
}
],
"order_list": [ // 合同列表信息
{
"group_code": "FG20260122-1",
"id": "4462",
"order_code": "20260122-70",
"group_order_code": "20260122-70"
}
],
"list": { // 当前委外数据
"panel_data": [ // 板材委外单
{
"id": "303",
"factory_id": "1",
"order_ids": "4462",
"out_code": "CLWW20260224-7",
"create_time": "2026-02-24",
"money_sum": "0.000",
"money_pay": "0.000",
"money_odd": "0.000",
"handler_id": "1",
"handler_name": "admin",
"reviewer_id": "0",
"reviewer_name": "",
"supplier_id": "0",
"supplier_name": "",
"out_type": "",
"status": "1",
"wh_type": "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",
"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",
"out_group_id": "303",
"wh_name": "",
"wh_color": "",
"wh_length": "0.000",
"wh_thickness": "0.000",
"wh_location": null,
"order_id": "4462",
"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",
"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,
"out_quantity": null,
"jg_area": null,
"wh_spec": "",
"origin": "normal",
"seo_material_id": "0",
"wh_bom_code": "",
"apply_id": "0",
"apply_detail_id": "0",
"cc_outitem_glass_id": "0",
"cc_outitem_glass_item_id": "0",
"order_info": null,
"jg_bom_id": "0",
"outitem_id": "0",
"back_date": null,
"order_material_out_gather_detail_id": "0",
"out_gather_id": "0",
"is_sketch": "0",
"glass_purchase_cart_id": null,
"wh_area": 0,
"last_in_time": null,
"money_type": null,
"warehouse_id": "0",
"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",
"factory_id": "1",
"order_ids": "4462",
"out_code": "CLWW20260224-6",
"create_time": "2026-02-24",
"money_sum": "0.000",
"money_pay": "0.000",
"money_odd": "0.000",
"handler_id": "1",
"handler_name": "admin",
"reviewer_id": "0",
"reviewer_name": "",
"supplier_id": "0",
"supplier_name": "",
"out_type": "",
"status": "1",
"wh_type": "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",
"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",
"out_group_id": "298",
"wh_name": "",
"wh_color": "",
"wh_length": "0.000",
"wh_thickness": "0.000",
"wh_location": null,
"order_id": "4462",
"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",
"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,
"out_quantity": null,
"jg_area": null,
"wh_spec": "",
"origin": "normal",
"seo_material_id": "0",
"wh_bom_code": "",
"apply_id": "0",
"apply_detail_id": "0",
"cc_outitem_glass_id": "0",
"cc_outitem_glass_item_id": "0",
"order_info": null,
"jg_bom_id": "0",
"outitem_id": "0",
"back_date": null,
"order_material_out_gather_detail_id": "0",
"out_gather_id": "0",
"is_sketch": "0",
"glass_purchase_cart_id": null,
"wh_area": 0,
"last_in_time": null,
"money_type": null,
"warehouse_id": "0",
"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",
"ggcode": null,
"group_code": "FG20260122-1",
"buyer_address": "",
"panel_data": [],
"addon_data": [
{
"finance_order_group_id": "2027",
"ggcode": null,
"buyer_address": "",
"order_id": "4462",
"group_code": "FG20260122-1",
"order_code": "20260122-70",
"outitem_addon_id": "9677",
"name": "33",
"count": 44,
"color": null,
"is_material_out": "1",
"unit": "444",
"spec": "444",
"is_show": "1"
}
]
}
]
}
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array | 账号数据 |
