文档
测试

详情(厨房部门)

POST
/api/cost/Boss/kitchenCostInfo

接口描述

清洁明细

请求参数

参数名
类型
描述
必填
id
int
id
必填

响应参数

参数名
类型
描述
必填
id
必填
date
string
提交日期
必填
detail
string
详单数组
必填
name
string
分类名称
必填
total_price
int
总价
必填
list
string
数据集合
必填
m_name
string
物品名称
必填
m_company
int
单位
必填
yesterday_num
int
昨日数量
必填
yesterday_price
int
昨日单价
必填
yesterday_total_price
int
昨日总价
必填
purchase_num
int
采购数量
必填
purchase_price
int
采购单价
必填
purchase_total_price
int
采购总价
必填
today_num
int
今日剩余
必填
today_price
int
今日单价
必填
today_total_price
int
今日总价
必填
today_used_num
int
今日所用
必填
today_used_price
int
今日消耗
必填

说明 / 示例

``` { "code": 1, "msg": "获取成功", "time": "1674995292", "data": { "id": 2, "hotel_id": 1, "department_id": 1, "uid": 3, "room_id": 1, "name": "2023-01-29客户日耗-张大姐", "type": 3, "price": "25.00", "room_status": 1, "is_pl": 0, "createtime": 1674991688, "updatetime": 1674991688, "date": "2023-01-29", "detail": [ { "id": 2, "name": "一次性用品类", "list": [ { "m_id": 1, "c_id": 2, "m_name": "牙刷", "m_company": "个", "num": 2, "unit_price": "10.00", "price": "20.00" } ], "total_price": 20 }, { "id": 4, "name": "饮食品类", "list": [ { "m_id": 2, "c_id": 4, "m_name": "泡面", "m_company": "桶", "num": 1, "unit_price": "5.00", "price": "5.00" } ], "total_price": 5 } ], "room_no": "101" } } ```