jiangn vor 1 Jahr
Ursprung
Commit
83a29f1ba5
2 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 4 0
      src/api/pages/report/detail-report.js
  2. 3 0
      src/mixins/index.js

+ 4 - 0
src/api/pages/report/detail-report.js

@@ -59,6 +59,10 @@ export default {
     getSaleProfitGroupBySku:'get_sale_profit_group_by_sku',
     getSaleProfitGroupBySku:'get_sale_profit_group_by_sku',
     // 经营概况
     // 经营概况
     getBusinessOverview:'get_business_overview',
     getBusinessOverview:'get_business_overview',
+    // 销售汇总表
+    getOrderSummary:'get_order_summary',
+    // 销售汇总明细
+    getOrderSummaryItem:'get_order_summary_item',
   }
   }
 }
 }
 
 

+ 3 - 0
src/mixins/index.js

@@ -319,6 +319,9 @@ export const indexMixin = {
           if (!this.tableData && res.data && Array.isArray(res.data)) {
           if (!this.tableData && res.data && Array.isArray(res.data)) {
             this.tableData = res.data;
             this.tableData = res.data;
           }
           }
+          if (!this.tableData && res.data && Array.isArray(res.data.detail)) {
+            this.tableData = res.data.detail;
+          }
           if (params.currentPage == 1) {
           if (params.currentPage == 1) {
             this.pageInfo.total = res.data.total
             this.pageInfo.total = res.data.total
             this.pageInfo.currentPage = 1;
             this.pageInfo.currentPage = 1;