report.report.js 1.81 KB
/**
 * 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");

    app.post("/report/getOrdersGoodsRptList", "report_getOrdersGoodsRptList");  //销售统计

    app.post("/report/getReturnGoodsRptList", "report_getReturnGoodsRptList");  //退货统计

    /*************************************出入库报表*************************************/

    app.vue("/report/importExportStock", "report.ImportExportStock");

    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");
    
}