settleReceipt.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import { axios } from '@/utils/request'
  2. // 销售收款 列表 分页
  3. export const settleReceiptList = (params) => {
  4. const url = `/settleReceipt/queryPage/${params.pageNo}/${params.pageSize}`
  5. delete params.pageNo
  6. delete params.pageSize
  7. return axios({
  8. url: url,
  9. data: params,
  10. method: 'post'
  11. })
  12. }
  13. // 仅标记收款
  14. export const settleReceiptBatch = (params) => {
  15. const url = `/settleReceipt/receiptBatch`
  16. return axios({
  17. url: url,
  18. data: params,
  19. method: 'post'
  20. })
  21. }
  22. // 关联收款单
  23. export const settleReceiptBookBatch = (params) => {
  24. const url = `/settleReceipt/receiptBookBatch`
  25. return axios({
  26. url: url,
  27. data: params,
  28. method: 'post'
  29. })
  30. }
  31. // 凭证
  32. export const settleReceiptFindBySn = (params) => {
  33. const url = `/settleReceipt/findBySn/${params.sn}`
  34. return axios({
  35. url: url,
  36. method: 'get'
  37. })
  38. }
  39. // 收款打印
  40. export const settleReceiptPrintFindBySn = (params) => {
  41. const url = `/settleReceipt/printFindBySn/${params.sn}`
  42. return axios({
  43. url: url,
  44. method: 'get'
  45. })
  46. }