import { axios } from '@/utils/request'

//  库存流水（出入库明细） 列表  有分页
export const stockFlowList = (params) => {
  const url = `/stockFlow/queryPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios({
    url: url,
    data: params,
    method: 'post'
  })
}

//  库存流水（出入库明细）  合计
export const stockFlowCount = (params) => {
  return axios({
    url: '/stockFlow/queryPageCount',
    data: params,
    method: 'post'
  })
}
