毛利润报表--总览页

接口地址:/shop/grossprofit
get方式
参数及格式如下:
phone:用户登录时的手机号
shop_id:门店id
time:选择的时间范围。如2018/01/01~2018/03/16,中间用~分割
返回格式:
Last updated
Was this helpful?

phone:用户登录时的手机号
shop_id:门店id
time:选择的时间范围。如2018/01/01~2018/03/16,中间用~分割
Last updated
Was this helpful?
Was this helpful?
若请求成功msg返回success;否则msg为相应报错信息
{
"code": 1,
"data": {
"gross_profit": 25631.28,
"rate": "11.35%",
"gross_income": 225863.25,
"gross_charge": 112368.63,
"course": {
"num": 27,
"gross_income": 15000,
"discount": 2580,
~~删除:"refund": 3250,~~
"teacher_salary": -4800,
"ts_rate": "47%",
"material_fee": -2635.25,
"mf_rate": "-21.24%",
"tool_rent": "0",
"tr_rate": "0%",
删除:"no_sign": 800,
删除: "ns_rate": "12.14%",
"gross_profit": 5564.75,
"rate": "22.17%"
},
"private_teacher": {
"num": 14,
"gross_income": 15000,
"discount": 2580,
"ps_salary": -4800,
"ps_rate": "47%",
"material_fee": -2635.25,
"mf_rate": "-21.24%",
"gross_profit": -5564.75,
"rate": "-22.01%"
},
"member": {
"num": 15,
"member_fee": 15000,
"discount": 2580,
"member_insurance": -4800,
"mi_rate": "-10%",
"gross_profit": -5564.75,
"rate": "-22.17%"
},
"rent": {
"box_income": 15000,
"box_discount": 2580,
"space_income": 15000,
"space_discount": 2580,
"tool_income": -15000,
"tool_discount": 2580
},
"commodity": {
"category": 12,
"num": 275,
"sales": 15000,
"discount": 2580,
"sales_cost": -4800,
"sc_rate": "-10%",
"gross_profit": -5564.75,
"rate": "-22.17%"
},
"other": {
"refund_fee": 1200,
"refund_num": 12,
"transfer_fee": 150,
"transfer_num": 3
}
},
"msg": "success"
}