report.js
1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* Created by wangqianjun on 16/5/25.
*/
module.exports=function(app) {
/*************************************经营总览*************************************/
app.vue("/report/businessOverview", "report.BusinessOverview");
//获取店铺的经营指标:一个自然日内有效订单商品件数、有效订单商品金额
app.post("/report/getShopBusinessOverview", "report_getShopBusinessOverview");
//获取店铺的品牌排名,当前等级、排名、上升名词
app.post("/report/getShopBrandRank", "report_getShopBrandRank");
//对账结算
app.post("/report/getOrdersGoodsAccountRptList", "report_getOrdersGoodsAccountRptList");
/*************************************商品销售报表*************************************/
app.vue("/report/businessSale", "report.BusinessSale", "select_queryAllMaxSortList");
app.post("/report/getOrdersGoodsRptList", "report_getOrdersGoodsRptList"); //销售统计
app.post("/report/getReturnGoodsRptList", "report_getReturnGoodsRptList"); //退货统计
/*************************************出入库报表*************************************/
app.vue("/report/importExportStock", "report.ImportExportStock", "select_queryAllMaxSortList");
app.post("/report/getStorageInRptList", "report_getStorageInRptList"); //发货入库统计
app.post("/report/getStorageOutRptList", "report_getStorageOutRptList"); //请退出库统计
/*************************************库存报表*************************************/
app.vue("/report/stock", "report.Stock", "select_queryAllMaxSortList");
app.post("/bigdata/getStorageStatisticsList", "report_getStorageStatisticsList"); //查询库存列表
/*************************************会员画像*************************************/
app.vue("/report/charts", "report.Charts");
}