index.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import request from '@/router/axios';
  2. // 列表查询
  3. export function selectInvoiceList(data) {
  4. return request({
  5. url: '/api/blade-land/order/list',
  6. method: 'get',
  7. params: data
  8. })
  9. }
  10. // 列表单条删除
  11. export function removeDelegationList(data) {
  12. return request({
  13. url: '/api/blade-land/order/remove',
  14. method: 'post',
  15. params: data
  16. })
  17. }
  18. // 单据新增修改
  19. export function saveDelegationList(data) {
  20. return request({
  21. url: '/api/blade-land/order/submit',
  22. method: 'post',
  23. data: data
  24. })
  25. }
  26. // 单据新增修改
  27. export function saveSaveList(data) {
  28. return request({
  29. url: '/api/blade-land/order/save',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. // 单据新增
  35. export function detailDelegationList(data) {
  36. return request({
  37. url: '/api/blade-land/order/detail',
  38. method: 'get',
  39. params:data
  40. })
  41. }
  42. // 单据新增
  43. export function removeCollection(data) {
  44. return request({
  45. url: '/api/blade-land/orderfee/remove?ids='+data,
  46. method: 'post'
  47. })
  48. }
  49. //司机查询
  50. export function driverQueryCollection(data) {
  51. return request({
  52. url: '/api/blade-land/order-item/list',
  53. method: 'get',
  54. params:data
  55. })
  56. }