文档
测试

成本支出---详情页

POST
/api/restaurant_machine/costexpenditure/costexpendituredetail

请求头

参数名
类型
描述
必填
token
string
token
必填

请求参数

``` { "type":1,// 1 按项目 2 按区域 3 按门店 "chooseLevelId":1, "chooseLevel":1, "sort":2 ,// 金额排序 1 正序 2 倒序 默认倒序 "cesiIds"[1,2,3], //项目的ID集合 "startTime":"2022-01-22 05:55", "endTime":"2022-01-22 05:55" }

说明 / 示例

~~~ { "total": 0, "code": 0, "data": { "totalExpenditure": 484.4, "itemCount": 2, "details": [ { "ceId": 1, "name": "物业费", "amount": "319.2", "proportion": "65.90%" }, { "ceId": 2, "name": "房租", "amount": "165.2", "proportion": "34.10%" } ] }, "message": "success" }