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

//  散件退货列表  分页
export const sparePartsRetList = (params) => {
  const url = `/sparePartsRet/queryPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios({
    url: url,
    data: params,
    method: 'post'
  })
}
//  散件退货详情列表  分页
export const sparePartsRetDetailList = (params) => {
  const url = `/sparePartsRet/queryDetailPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios({
    url: url,
    data: params,
    method: 'post'
  })
}
