简要描述:
获取采购单物料列表
请求URL:
http://lbl-open.thinkerx.com/api/lbl/methods/filterPurchaseMaterials
请求方式:
POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| factory_id | 否 | string | 单库工厂必填id |
| handler | 是 | string | 操作人 |
| wh_type | 是 | string | 类别 bar:型材,glass:玻璃纱网,addon:配件,panel:板材,other:其他 |
| name | 否 | string | 名称筛选 |
| bom_code | 否 | string | 板件code筛选 |
| color | 否 | string | 颜色筛选 |
| spec | 否 | string | 规格筛选 |
| series | 否 | string | 物料系列筛选 |
| color_code | 否 | string | 颜色编码筛选 |
| thick | 否 | string | 厚度筛选 |
返回示例
{
"status": 0,
"message": null,
"data": [
{
"series": "木门1",
"id": "1",
"name": "10",
"bom_code": "111",
"color_code": "0000",
"unit": "",
"note": "",
"spec": "10*10",
"length_glass": "10",
"width": "10",
"length": "10",
"thick": "10",
"origin": "",
"flower": "",
"color": "10",
"inventory": "910",
"price": "10",
"piece_cost": "10",
"can_inventory": "910",
"meter": "0.0001",
"foot": "0.0011",
"tons": "0",
"opt": "910"
}
]
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array | 账号数据 |
