简要描述:
全部委外-委外单记录新增/修改
请求URL:
http://lbl-open.thinkerx.com/api/lbl/methods/allMaterialOutDetailSave
请求方式:
POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| factory_id | 否 | string | 单库工厂必填id |
| user_id | 是 | string | 操作人 |
out_group_id | 是 | string | 委外单id |
material_out_detail_id | 否 | string | 委外单详情id(更新需要,否则0表示创建) |
| wh_type | 是 | string | 类型 |
| order_code | 是 | string | 合同code |
| order_id | 是 | string | 合同订单id |
| wh_name | 是 | string | 材料名称 |
| wh_color | 是 | string | 材料颜色 |
| total_count | string | 数量 | |
| wh_count_type | 是 | string | 计价方式 1面积 2数量 |
| wh_price | 是 | string | 价格 |
| out_note | 否 | string | 备注 |
| width | 否 | string | 宽度 |
| length | 否 | string | 长度 |
| thick | 否 | string | 厚度 |
| panel_out_type | 否 | string | 类型 |
| panel_kaixiang | 否 | string | 开向 |
| hinge_hole | 否 | string | |
wh_spec | 否 | string | 规格 |
| wh_unit | 否 | string | 单位 |
请求示例
{
"factory_id": "1",
"login_token": "ae7e508eaf2511f0bb7c00163e18d113",
"user_id": "1",
"material_out_id": 352,
"material_out_detail_id": "456",
"wh_type": "4",
"out_group_id": "323",
"order_id": "4547",
"order_code": "20260225-1-100053791",
"wh_name": "sadf ",
"wh_color": "1",
"total_count": "",
"wh_count_type": "2",
"wh_price": "",
"out_note": "",
"wh_spec": "",
"wh_unit": ""
}返回示例
{
"status": 0,
"message": null,
"data": {
}
}返回参数说明
| 参数名 | 类型 | 描述 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array |
