import { axios } from '@/utils/request' // 调拨开单统计 列表 有分页 export const allocateReportList = (params) => { const url = `/report/allocateReport/queryPage/${params.pageNo}/${params.pageSize}` delete params.pageNo delete params.pageSize return axios({ url: url, data: params, method: 'post', headers: { 'module': encodeURIComponent('列表查询') } }) } // 调拨开单统计 列表 合计 export const allocateReportCount = (params) => { return axios({ url: '/report/allocateReport/queryCount', data: params, method: 'post' }) } // 调拨明细 列表 有分页 export const allocateReportDetailList = (params) => { const url = `/report/allocateReport/detail/queryPage/${params.pageNo}/${params.pageSize}` delete params.pageNo delete params.pageSize return axios({ url: url, data: params, method: 'post', headers: { 'module': encodeURIComponent('列表查询') } }) } // 调拨明细 列表 合计 export const allocateReportDetailCount = (params) => { return axios({ url: '/report/allocateReport/detail/queryCount', data: params, method: 'post' }) } // 调拨明细报表 导出 export const allocateReportDetailExport = (params) => { return axios({ url: '/report/allocateReport/detail/exportExcel', data: params, method: 'post', responseType: 'blob', headers: { 'module': encodeURIComponent('导出') } }) } export const allocateReportExportExcel = (params) => { return axios({ url: '/report/allocateReport/exportExcel', data: params, method: 'post', responseType: 'blob', headers: { 'module': encodeURIComponent('导出') } }) }