index.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. API_GET_WEIGHTCHECK
  17. } from '@/api/V2/outboundManagement'
  18. //质检列表
  19. export const getinspectList = appRx.get(API_GET_INSPECT_GETINSPECTLIST, errorCatcher, errorHandle, filter)
  20. //质检查看
  21. export const getinspectLook = appRx.get(API_GET_INSPECT_GETINSPECTLOOK, errorCatcher, errorHandle, filter)
  22. //质检添加
  23. export const addOut = appRx.post(API_POST_INSPECT_ADDOUT, errorCatcher, errorHandle, filter)
  24. //查看仓库
  25. export const selectWarehouseSelf = appRx.get(API_GET_WAREHOUSESELF, errorCatcher, errorHandle, filter)
  26. //检斤列表查看
  27. export const getweighingList = appRx.get(API_GET_WEIGHTCHECK_GETWEIGHINGLIST, errorCatcher, errorHandle, filter)
  28. //皮重检斤保存
  29. export const tare = appRx.post(API_POST_WEIGHTCHECK_TARE, errorCatcher, errorHandle, filter)
  30. //毛重检斤保存
  31. export const grossWeight = appRx.post(API_POST_WEIGHTCHECK_GROSSWEIGHT, errorCatcher, errorHandle, filter)
  32. //出库管理添加皮重检斤
  33. export const tareAdd = appRx.post(API_POST_WEIGHTCHECK_ADDTARE, errorCatcher, errorHandle, filter)
  34. //出库管理编辑皮重检斤
  35. export const tareEdit = appRx.post(API_POST_WEIGHTCHECK_EDITTAREOUT, errorCatcher, errorHandle, filter)
  36. //仓位下拉
  37. export const getbinNumber = appRx.get(API_GET_INSPECT_GETBINNUMBER, errorCatcher, errorHandle, filter)
  38. //删除检斤信息
  39. export const delelteWeighing = appRx.post(API_POST_INSPECT_DELETEWEIGHING, errorCatcher, errorHandle, filter)
  40. //合同编号下拉
  41. export const contractList = appRx.get(API_GET_INSPECT_CONTRANCLIST, errorCatcher, errorHandle, filter)
  42. //检斤查看
  43. export const getweighing = appRx.get(API_GET_WEIGHTCHECK, errorCatcher, errorHandle, filter)