index.js 956 B

12345678910111213141516171819202122
  1. import { errorCatcher, errorHandle, filter } from 'base-core-lib'
  2. import { appRx } from '../defalutConfig/indexRx'
  3. import {
  4. API_GET_MAPINFO,
  5. API_GET_WAREHOUSE_LOOK,
  6. API_POST_WAREHOUSE_EDIT,
  7. API_GET_BILLNO,
  8. API_GET_TRADESERVICES_LIST,
  9. API_POST_RECEIPTAPPL_ADD
  10. } from '@/api/V2/tradeServicesManagement'
  11. // 列表
  12. export const getList = appRx.get(API_GET_TRADESERVICES_LIST, errorCatcher, errorHandle, filter)
  13. export const getMapInfo = appRx.get(API_GET_MAPINFO, errorCatcher, errorHandle, filter)
  14. // 添加
  15. export const addList = appRx.post(API_POST_RECEIPTAPPL_ADD, errorCatcher, errorHandle, filter)
  16. // 查看
  17. export const getwarehousewarrantList = appRx.get(API_GET_WAREHOUSE_LOOK, errorCatcher, errorHandle, filter)
  18. // 编辑
  19. export const editList = appRx.post(API_POST_WAREHOUSE_EDIT, errorCatcher, errorHandle, filter)
  20. // 获取业务编号
  21. export const getbillno = appRx.get(API_GET_BILLNO, errorCatcher, errorHandle, filter)