index.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { errorCatcher, errorHandle, filter } from 'base-core-lib'
  2. import { appRx } from '../defalutConfig/indexRx'
  3. import {
  4. API_POST_INSPECT_ADDOUT,
  5. API_GET_INSPECT_GETINSPECTLIST,
  6. API_GET_INSPECT_GETINSPECTLOOK,
  7. API_GET_WAREHOUSESELF,
  8. API_GET_WEIGHTCHECK_GETWEIGHINGLIST,
  9. API_POST_WEIGHTCHECK_TARE,
  10. API_POST_WEIGHTCHECK_GROSSWEIGHT,
  11. API_GET_INSPECT_GETBINNUMBER,
  12. API_POST_INSPECT_DELETEWEIGHING,
  13. API_GET_INSPECT_CONTRANCLIST,
  14. API_POST_WEIGHTCHECK_ADDTARE,
  15. API_POST_WEIGHTCHECK_EDITTAREOUT
  16. } from '@/api/V2/outboundManagement'
  17. //质检列表
  18. export const getinspectList = appRx.get(API_GET_INSPECT_GETINSPECTLIST, errorCatcher, errorHandle, filter)
  19. //质检查看
  20. export const getinspectLook = appRx.get(API_GET_INSPECT_GETINSPECTLOOK, errorCatcher, errorHandle, filter)
  21. //质检添加
  22. export const addOut = appRx.post(API_POST_INSPECT_ADDOUT, errorCatcher, errorHandle, filter)
  23. //查看仓库
  24. export const selectWarehouseSelf = appRx.get(API_GET_WAREHOUSESELF, errorCatcher, errorHandle, filter)
  25. //检斤列表查看
  26. export const getweighingList = appRx.get(API_GET_WEIGHTCHECK_GETWEIGHINGLIST, errorCatcher, errorHandle, filter)
  27. //皮重检斤保存
  28. export const tare = appRx.post(API_POST_WEIGHTCHECK_TARE, errorCatcher, errorHandle, filter)
  29. //毛重检斤保存
  30. export const grossWeight = appRx.post(API_POST_WEIGHTCHECK_GROSSWEIGHT, errorCatcher, errorHandle, filter)
  31. //出库管理添加皮重检斤
  32. export const tareAdd = appRx.post(API_POST_WEIGHTCHECK_ADDTARE, errorCatcher, errorHandle, filter)
  33. //出库管理编辑皮重检斤
  34. export const tareEdit = appRx.post(API_POST_WEIGHTCHECK_EDITTAREOUT, errorCatcher, errorHandle, filter)
  35. //仓位下拉
  36. export const getbinNumber = appRx.get(API_GET_INSPECT_GETBINNUMBER, errorCatcher, errorHandle, filter)
  37. //删除检斤信息
  38. export const delelteWeighing = appRx.post(API_POST_INSPECT_DELETEWEIGHING, errorCatcher, errorHandle, filter)
  39. //合同编号下拉
  40. export const contractList = appRx.get(API_GET_INSPECT_CONTRANCLIST, errorCatcher, errorHandle, filter)