index.js 581 B

12345678910111213141516171819202122232425262728
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const changeLocationFn = data => {
  3. return https.get('/ghs/change-location', data)
  4. }
  5. export const changeGhsName = data => {
  6. return https.get('/ghs/modify-name', data)
  7. }
  8. /** *
  9. * 供货商列表 姜枫 2021.04.01 ghs/add
  10. */
  11. export const getList = data => {
  12. return https.get('/ghs/list', data)
  13. }
  14. /** *
  15. * 添加供货商 汪宁 2021.06.11
  16. */
  17. export const ghsAdd = data => {
  18. return https.post('/ghs/add', data)
  19. }
  20. export const getGhsDebtRecord = data => {
  21. return https.get('/ghs-debt-record/list', data)
  22. }