简要描述:
仓库-报价板材列表
请求URL:
http://lbl-open.thinkerx.com/api/lbl/warehouses/price-directories/:id/panel-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": 316, /* wh_price_directorys_details 主键ID */
"type": "panel", /* 材料类型 panel 、addon、other */
"price_directorys_id": 2, /* 报价方案id */
"object_id": 64, /* 指定对象id ,板材id、配件id、其他物料id */
"ty_price": "0.00", /* 投影面积报价(元/㎡) */
"zk_price": "0.00", /* 展开面积报价(元/㎡) */
"cg_price": "0.00", /* 橱柜延米报价(元/m) */
"db_price": "0.00", /* 大板报价(元/张) */
"price": null, /* 配件 单价(元/张) */
"create_time": "2026-04-01 15:06:27", /* 创建时间 */
"update_time": "2026-04-01 15:06:27", /* 修改时间 */
"user_id": 1, /* 修改人账号id */
"panel": {
"id": 64, /* wh_panel 主键ID */
"factory_id": 1, /* 工厂id */
"list_id": 9, /* 仓库ID */
"wh_id": 1, /* 仓位ID */
"name": "紫玻2", /* 板材名称 */
"unit": "张", /* 单位 */
"spec": "100*100", /* 规格 */
"length": "100.000", /* 长度 */
"width": "100.000", /* 宽度 */
"thick": "3.000", /* 厚度 */
"origin": "上海", /* 产地 */
"quality": "雪", /* 材质 */
"color": "黄色", /* 颜色 */
"profile_thumb_url": null, /* 缩略图地址 */
"profile_file_url": null, /* 原图地址 */
"cost_price": "10000.0000", /* 成本价 */
"sale_price": "150.0000", /* 销售价 */
"min_inventory": "1.0", /* 最小库存 */
"bom_code": "", /* 物料编号 */
"color_code": "0000", /* 颜色编码 */
"inventory": "0.000", /* 库存数量 */
"can_warning_inventory": "0.0", /* 可用库存安全库存值 */
"warning_inventory": "10.00", /* 库存报警值 */
"max_inventory": "11.0", /* 最高库存 */
"rejects_inventory": "0.000", /* 不良品数量 */
"freeze_inventory": "0.00", /* 冻结库存 */
"note": "1", /* 备注 */
"barcode": null, /* 扫描专用条码 */
"update_time": "2026-01-05 14:38:33", /* 最近一次修改时间 */
"inOut_time": "0000-00-00 00:00:00", /* 最近一次出入库操作时间 */
"out_time": null, /* 最近一次出库时间 */
"check": 0, /* 清点标示 0未1是 */
"counting": 0, /* 是否处于清点中 1代表是 */
"is_forbidden": 0, /* 是否禁用 */
"create_time": "0000-00-00", /* 创建日期 */
"check_inventory_time": "0000-00-00 00:00:00", /* 盘存时间 */
"photo_data": null, /* 框型图用于打印提取 */
"piece_cost": "100.0000", /* 单件成本 */
"area": "0.010", /* 块面积 */
"is_semi": 0, /* 是否为半成品;0否,1是 */
"pattern": null, /* 花型、材质 */
"type": 1, /* 1、成品 2、坯料 */
"is_billet": 0, /* 是否是坯料,0:否;1是 */
"is_exempt_check": 0, /* 是否免检;0否1是 */
"over_purchase_ratio": "0.00", /* 采购超收率 */
"purchase_date": 7, /* 采购周期 */
"is_component": null, /* 是否成为构建 */
"brand_name": "", /* 品牌 */
"old_in_time": null, /* 最早入库时间 */
"last_purchase_supplier_id": 0, /* 最后一次采购供应商 */
"ready_in_inventory": "0.00", /* 待审核入库数 */
"plan_freeze_inventory": null, /* 计划冻结库存 */
"third_party_code": "", /* 板材对接金蝶软件的编码 */
"third_party_fid": null, /* 板材对接金蝶软件绑定的id */
"unit_code": "", /* 对接金蝶软件的单位编码 */
"priority": 0, /* 自定义排序的排序值 */
"purchase_type": "face", /* 板材默认采购方式 */
"third_party_unit_id": null, /* 板材对接金蝶软件绑定的单位换算关系id */
"forbidden_time": null /* 禁用时间:最后一次禁用时间 */
}
}
],
"count": 1
}
}返回参数说明
| 参数名 | 类型 | 描述 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array |
