index.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import request from '@/utils/request'
  2. // 查询客户详情列表
  3. export function listCorpsTwo(query) {
  4. return request({
  5. // url: '/basicdata/corps/selectCustomerDriverList',
  6. url: '/basicdata/corps/list',
  7. method: 'get',
  8. params: query
  9. })
  10. }
  11. // 查询列表
  12. export function listCorps(query) {
  13. return request({
  14. url: 'feeagreement/WarehouseFeeAgreementType/list',
  15. method: 'get',
  16. params:query
  17. })
  18. }
  19. // 费用类型列表
  20. export function costType(query) {
  21. return request({
  22. url: 'feeagreement/feeagreementtype/list',
  23. method: 'get',
  24. params:query
  25. })
  26. }
  27. // 费用类型列表
  28. export function typeClassificationQuery(query) {
  29. return request({
  30. url: '/feeagreement/WarehouseFeeAgreementTypeBusiness/list',
  31. method: 'get',
  32. params:query
  33. })
  34. }
  35. // 查询明细
  36. export function detailed(fId) {
  37. return request({
  38. url: 'feeagreement/WarehouseFeeAgreementType/'+fId,
  39. method: 'get'
  40. })
  41. }
  42. // 查询明细
  43. export function submitSave(data) {
  44. return request({
  45. url: 'feeagreement/WarehouseFeeAgreementType/saveAndUpdateTWarehouseFeeAgreementType',
  46. method: 'POST',
  47. data:data
  48. })
  49. }