invoiceApi.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import request from '../utils/request.js';
  2. export function deleteInvoiceType(data) {
  3. return request({
  4. method: 'post',
  5. data: data,
  6. url: '/mobile/invoiceApi/deleteInvoiceType'
  7. })
  8. }
  9. export function invoiceDetail(data) {
  10. return request({
  11. method: 'post',
  12. data: data,
  13. url: '/mobile/invoiceApi/invoiceDetail'
  14. })
  15. }
  16. export function invoiceList(data) {
  17. return request({
  18. method: 'post',
  19. data: data,
  20. url: '/mobile/invoiceApi/invoiceList'
  21. })
  22. }
  23. export function invoiceTypeDefalut(data) {
  24. return request({
  25. method: 'post',
  26. data: data,
  27. url: '/mobile/invoiceApi/invoiceTypeDefalut'
  28. })
  29. }
  30. export function invoiceTypeDetail(data) {
  31. return request({
  32. method: 'post',
  33. data: data,
  34. url: '/mobile/invoiceApi/invoiceTypeDetail'
  35. })
  36. }
  37. export function invoiceTypes(data) {
  38. return request({
  39. method: 'post',
  40. data: data,
  41. url: '/mobile/invoiceApi/invoiceTypes'
  42. })
  43. }
  44. export function saveInvoice(data) {
  45. return request({
  46. method: 'post',
  47. data: data,
  48. url: '/mobile/invoiceApi/saveInvoice'
  49. })
  50. }
  51. export function saveInvoiceType(data) {
  52. return request({
  53. method: 'post',
  54. data: data,
  55. url: '/mobile/invoiceApi/saveInvoiceType'
  56. })
  57. }
  58. export function invoiceTypeDefalutByStation(data) {
  59. return request({
  60. method: 'post',
  61. data: data,
  62. url: '/mobile/invoiceApi/invoiceTypeDefalutByStation'
  63. })
  64. }
  65. export function saveInvoiceByStation(data) {
  66. return request({
  67. method: 'post',
  68. data: data,
  69. url: '/mobile/invoiceApi/saveInvoiceByStation'
  70. })
  71. }