sysExport.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * Copyright (c) 2018-2025, hnqz All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the pig4cloud.com developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: hnqz
  16. */
  17. import request from '@/router/axios'
  18. export function getExportPackageTotalList(query) {
  19. return request({
  20. url: '/admin/export/getExportPackageTotalList',
  21. method: 'get',
  22. params: query
  23. })
  24. }
  25. export function selectWmScorePackageList(query) {
  26. return request({
  27. url: '/admin/export/selectWmScorePackageList',
  28. method: 'get',
  29. params: query
  30. })
  31. }
  32. export function getExportPackageZbTotalList(query) {
  33. return request({
  34. url: '/admin/export/getExportPackageZbTotalList',
  35. method: 'get',
  36. params: query
  37. })
  38. }
  39. // 表格编辑
  40. export function updateByIdWithType(obj) {
  41. return request({
  42. url: '/admin/wmscorepackage/updateByIdWithType',
  43. method: 'post',
  44. data: obj
  45. })
  46. }
  47. // 发票类目 修改
  48. export function invoiceCategory(query) {
  49. return request({
  50. url: '/admin/dict/type/invoice_category',
  51. method: 'get',
  52. params: query
  53. })
  54. }
  55. // 保存
  56. export function saveSettleInfo(obj) {
  57. return request({
  58. url: '/admin/settle/saveSettleInfo',
  59. method: 'post',
  60. data: obj
  61. })
  62. }
  63. export function teamSaveSettleInfo(obj) {
  64. return request({
  65. url: '/admin/settleNote/saveSettleInfo',
  66. method: 'post',
  67. data: obj
  68. })
  69. }
  70. // 结算
  71. export function teamSubmitSettleInfo(obj) {
  72. return request({
  73. url: '/admin/settleNote/subSettleInfo',
  74. method: 'post',
  75. data: obj
  76. })
  77. }
  78. export function teamAllSubmitSettleInfo(obj) {
  79. return request({
  80. url: '/admin/settleNote/batch-sub-settle',
  81. method: 'post',
  82. data: obj
  83. })
  84. }