简要描述:
全部委外-新增委外(空)
请求URL:
http://lbl-open.thinkerx.com/api/lbl/methods/addMaterialOut
请求方式:
POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| factory_id | 否 | string | 单库工厂必填id |
| user_id | 是 | string | 操作人 |
| wh_type | 是 | string | 材料类型有1、2、3、4、5 |
请求示例
{
"factory_id": "1",
"login_token": "ae7e508eaf2511f0bb7c00163e18d113",
"user_id": "1",
"user_id": "5"
}返回示例
{
"status": 0,
"message": null,
"data": {
"id": "347",
"factory_id": "1",
"order_ids": "",
"out_code": "CLWW20260226-24",
"create_time": "2026-02-26",
"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-26 16:12:14",
"glass_company_code": null,
"storage_total_package": "0",
"send_status": "0",
"appoint_pay_at": null,
"erect_money": "0.00"
}
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array | 委外材料列表 |
