瀏覽代碼

Merge branch 'dev' of http://10.2.1.24:10244/bpa/BPA.KitChen.Web into dev

tags/小炒逻辑变更前
txb 2 年之前
父節點
當前提交
ad10b7c854
共有 3 個文件被更改,包括 4 次插入2 次删除
  1. +2
    -2
      src/pages/order/order-market-report/service.js
  2. +1
    -0
      src/pages/order/order-member-statement/index.jsx
  3. +1
    -0
      src/pages/order/order-product-report/index.jsx

+ 2
- 2
src/pages/order/order-market-report/service.js 查看文件

@@ -3,7 +3,7 @@ import { request } from 'umi';
export default {
//获取分页数据
getMarketReportList(data) {
return request(`/kitchen/api/report-statistics/marketing-report`, {
return request(`/kitchen/api/report-statistics/cash-register-report`, {
method: 'Post',
data: data,
});
@@ -18,7 +18,7 @@ export default {

//下载报表
marketingReportExport(data) {
return request(`/kitchen/api/report-statistics/marketing-report-export`, {
return request(`/kitchen/api/report-statistics/cash-register-report-export`, {
method: 'Post',
data: data,
});


+ 1
- 0
src/pages/order/order-member-statement/index.jsx 查看文件

@@ -111,6 +111,7 @@ export default function Index() {
"startTime": timeRange[0],
"endTime": timeRange[1]
}
if (!currentOrg.key) delete jsonData.shopIds;
setShowLoading(true);
const response = await marketAPI.getMemberReport(jsonData);
setShowLoading(false);


+ 1
- 0
src/pages/order/order-product-report/index.jsx 查看文件

@@ -120,6 +120,7 @@ export default function Index() {
"startTime": timeRange[0],
"endTime": timeRange[1]
}
if (!currentOrg.key) delete jsonData.shopIds;
setShowLoading(true);
const response = await productAPI.getProductEcharts(jsonData);
setShowLoading(false);


Loading…
取消
儲存