文档
测试

清洁明细

POST
api/cost/Housekeeping/costInfo

接口描述

清洁明细

请求参数

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

响应参数

参数名
类型
描述
必填
id
必填
room_no
string
房间号
必填
date
string
提交日期
必填
detail
string
详单数组
必填
name
string
分类名称
必填
total_price
int
总价
必填
list
string
数据集合
必填
m_name
string
物品名称
必填
num
int
数量
必填
price
int
金额
必填
m_company
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" } } ```