zhangdan 4 years ago
parent
commit
24f6ec516b
1 changed files with 33 additions and 0 deletions
  1. 33 0
      src/api/SetmealSales.js

+ 33 - 0
src/api/SetmealSales.js

@@ -0,0 +1,33 @@
+import { axios } from '@/utils/request'
+
+// 核销记录列表
+export const getVerificationRecordsList = (params) => {
+  const url = `/verification/queryLikeByChannel/${params.pageNo}/${params.pageSize}`
+  delete params.pageNo
+  delete params.pageSize
+  return axios({
+    url: url,
+    data: params,
+    method: 'post'
+  })
+}
+
+// 合计
+export const getVerificationRecordsListTotal = params => {
+  const url = '/verification/export'
+  return axios({
+    url: url,
+    data: params,
+    method: 'post'
+  })
+}
+
+// 导出
+export const settlementRecordsExport = params => {
+  const url = `/verification/export`
+  return axios.request({
+    url: url,
+    data: params,
+    method: 'post'
+  }).then(res => res.data)
+}