/*******************************************************************************
 * Copyright(c) 2024 dongke All rights reserved. / Confidential
 * 类的信息：
 *		1.程序名称：
 *		2.功能描述：报表
 * 编辑履历：
 *		作者				日期					版本				修改内容
 *		yjb		  	2024-4-18      1.00		       	新建
 *******************************************************************************/
module.exports = {
  reportService: {
    // 前缀
    prefix: 'mdm-server/mst/report/',
    //销售跟踪列表
    getSalesTrackingReport: 'get_sales_tracking_report',
    //销售跟踪明细
    getSalesTrackingReportDetail: 'get_sale_tracking_report_detail',
    // 销售明细表
    getSalesItemReport: 'get_sales_item_report',
    //采购跟踪列表
    getPurTrackingReport: 'get_pur_tracking_report',
    //采购跟踪明细
    getPurTrackingReportDetail: 'get_pur_tracking_report_detail',
    // 入库明细表
    getInboundDetailReport: 'get_inbound_detail_report',
    // 出库明细表
    getOutboundDetailReport: 'get_outbound_detail_report',
    // 采购明细表
    getPurDetailReport: 'get_pur_detail_report',
    // 销售明细表
    getSalesItemReport: 'get_sales_item_report',
    // 收发存汇总表
    getIvtSumReport: 'get_ivt_sum_report',
    // 收发存汇总表-明细
    getIvtItemReport: 'get_ivt_item_report',
    // 库存明细导出
    getIvtDetailReport:'get_ivt_detail_report',
    // 客户收款明细表
    getRecPayDetailReport:'get_rec_pay_detail_report',
    // 客户收支表
    getCusRecPayReportItem:'get_cus_rec_pay_report_item',
    // 销售利润
    getSaleProfit:'get_sale_profit',
    // 查询部门利润
    getSaleProfitGroupByOrg:'get_sale_profit_group_by_org',
    // 查询业务员利润
    getSaleProfitGroupByStaff:'get_sale_profit_group_by_staff',
    // 查询商品利润
    getSaleProfitGroupBySku:'get_sale_profit_group_by_sku',
  },
  routeUrl: {
    report: {
      edit: { key: 'edit', url: '/package-purchase/pages/pur-track-report/detail/detail' },
      editIvtSum: { key: 'editIvtSum', url: '/package-inventory/pages/ivt-sum-report/detail/detail' },
      editIvt: { key: 'editIvt', url: '/package-inventory/pages/ivt-detail-report/detail/detail' },
      inBound: { key: 'inBound', url: '/package-inventory/pages/warehousing-processing/warehousing-processing' },
      outBound: { key: 'outBound', url: '/package-inventory/pages/outbound-processing/outbound-processing'}
    }
  }
};