index.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. API_GET_COLLECTION,
  18. API_GET_COLLECTION_LIST,
  19. API_POST_COLLECTION_EDITCOLLECT,
  20. API_POST_COLLECTION_ADDREMARKS,
  21. API_POST_COLLECTION_MONEY,
  22. API_GET_INSPECT_CONTRANCLISTWEIGHING
  23. } from '@/api/V2/outboundManagement'
  24. //质检列表
  25. export const getinspectList = appRx.get(API_GET_INSPECT_GETINSPECTLIST, errorCatcher, errorHandle, filter)
  26. //质检查看
  27. export const getinspectLook = appRx.get(API_GET_INSPECT_GETINSPECTLOOK, errorCatcher, errorHandle, filter)
  28. //质检添加
  29. export const addOut = appRx.post(API_POST_INSPECT_ADDOUT, errorCatcher, errorHandle, filter)
  30. //查看仓库
  31. export const selectWarehouseSelf = appRx.get(API_GET_WAREHOUSESELF, errorCatcher, errorHandle, filter)
  32. //检斤列表查看
  33. export const getweighingList = appRx.get(API_GET_WEIGHTCHECK_GETWEIGHINGLIST, errorCatcher, errorHandle, filter)
  34. //皮重检斤保存
  35. export const tare = appRx.post(API_POST_WEIGHTCHECK_TARE, errorCatcher, errorHandle, filter)
  36. //毛重检斤保存
  37. export const grossWeight = appRx.post(API_POST_WEIGHTCHECK_GROSSWEIGHT, errorCatcher, errorHandle, filter)
  38. //出库管理添加皮重检斤
  39. export const tareAdd = appRx.post(API_POST_WEIGHTCHECK_ADDTARE, errorCatcher, errorHandle, filter)
  40. //出库管理编辑皮重检斤
  41. export const tareEdit = appRx.post(API_POST_WEIGHTCHECK_EDITTAREOUT, errorCatcher, errorHandle, filter)
  42. //仓位下拉
  43. export const getbinNumber = appRx.get(API_GET_INSPECT_GETBINNUMBER, errorCatcher, errorHandle, filter)
  44. //删除检斤信息
  45. export const delelteWeighing = appRx.post(API_POST_INSPECT_DELETEWEIGHING, errorCatcher, errorHandle, filter)
  46. //收款合同编号下拉
  47. export const contractList = appRx.get(API_GET_INSPECT_CONTRANCLIST, errorCatcher, errorHandle, filter)
  48. //检斤合同编号下拉
  49. export const contractListWeighing = appRx.get(API_GET_INSPECT_CONTRANCLISTWEIGHING, errorCatcher, errorHandle, filter)
  50. //检斤查看
  51. export const getweighing = appRx.get(API_GET_WEIGHTCHECK, errorCatcher, errorHandle, filter)
  52. //收款信息查看
  53. export const getcollectionexamine = appRx.get(API_GET_COLLECTION, errorCatcher, errorHandle, filter)
  54. //收款
  55. export const moneyCollection = appRx.post(API_POST_COLLECTION_MONEY, errorCatcher, errorHandle, filter)
  56. //收款管理列表
  57. export const getcollection = appRx.get(API_GET_COLLECTION_LIST, errorCatcher, errorHandle, filter)
  58. //编辑实际应收
  59. export const editcollect = appRx.post(API_POST_COLLECTION_EDITCOLLECT, errorCatcher, errorHandle, filter)
  60. //添加备注
  61. export const remarksAdd = appRx.post(API_POST_COLLECTION_ADDREMARKS, errorCatcher, errorHandle, filter)