简要描述:
仓库-报价配件列表
请求URL:
http://lbl-open.thinkerx.com/api/lbl/warehouses/price-directories/:id/addon-details
请求方式:
GET
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| user_id | 是 | string | 操作人 |
| page | 否 | string | 页数 |
| id | 是 | string | Path参数,值是报价方案id |
| per_page | 否 | string | 分页条件 |
请求示例
{
"factory_id": "1",
"login_token": "ae7e508eaf2511f0bb7c00163e18d113",
"user_id": "1"
}返回示例
{
"status": 0,
"message": "ok",
"data": {
"list": [
{
"id": 317,
"type": "addon",
"price_directorys_id": 2,
"object_id": 29,
"ty_price": null,
"zk_price": null,
"cg_price": null,
"db_price": null,
"price": "12.00", // 报价
"create_time": "2026-04-03 09:53:17",
"update_time": "2026-04-03 09:53:17",
"user_id": 1,
"addon": { // 配件信息
"id": 29,
"factory_id": 1,
"list_id": 22,
"wh_id": 0,
"name": "94单上轨", // 物料名称
"color": "肌肤黑", // 颜色
"spec": "三合一", // 规格
"unit": "", // 单位
"origin": "",
"profile_thumb_url": null,
"profile_file_url": null,
"min_inventory": "0.0",
"warning_inventory": "0.0",
"max_inventory": "0.0",
"rejects_inventory": "0.000",
"freeze_inventory": "0.00",
"cost_price": "0.0000",
"sale_price": "0.0000",
"kg_cost_price": "0.0000",
"kg_sale_price": "0.0000",
"wholesale_price": "0.0000",
"retail_price": "0.0000",
"client_price": "0.0000",
"inventory": "10.000",
"can_warning_inventory": "0.0",
"check_inventory_time": null,
"bom_code": "0000",
"color_code": "0000",
"purchase_quantity": 0,
"photo_data": null,
"note": "",
"barcode": null,
"update_time": "2026-03-25 14:00:17",
"inOut_time": "2026-04-02 10:59:04",
"out_time": "2026-03-25 14:00:17",
"check": 0,
"counting": 0,
"is_component": 0,
"is_forbidden": 0,
"is_semi": 0,
"pattern": null,
"thick": "0.000",
"length": "0.000",
"width": "0.000",
"quality": "",
"is_billet": 0,
"is_exempt_check": 0,
"over_purchase_ratio": "0.00",
"purchase_date": 7,
"purchase_unit": "",
"conversion_quantity": "1.00",
"brand_name": "",
"model": "",
"raw_price": 0,
"purchase_confirm": 0,
"plan_freeze_inventory": null,
"t_bom_code": "0000",
"t_warehouse_code": "",
"last_purchase_supplier_id": 13,
"t_class_code": "",
"ready_in_inventory": "0.00",
"third_party_code": "",
"third_party_fid": null,
"unit_code": "",
"purchase_reference_price": "0.00",
"material_id": 0,
"purchase_unit_code": "",
"third_party_unit_id": null,
"forbidden_time": null
}
}
],
"count": 2
}
}返回参数说明
| 参数名 | 类型 | 描述 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array |
