import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_POST_INSPECT_ADDOUT, API_GET_INSPECT_GETINSPECTLIST, API_GET_INSPECT_GETINSPECTLOOK, API_GET_WAREHOUSESELF, API_GET_WEIGHTCHECK_GETWEIGHINGLIST, API_POST_WEIGHTCHECK_TARE, API_POST_WEIGHTCHECK_GROSSWEIGHT, API_GET_INSPECT_GETBINNUMBER, API_POST_INSPECT_DELETEWEIGHING, API_GET_INSPECT_CONTRANCLIST, API_POST_WEIGHTCHECK_ADDTARE, API_POST_WEIGHTCHECK_EDITTAREOUT } from '@/api/V2/outboundManagement' //质检列表 export const getinspectList = appRx.get(API_GET_INSPECT_GETINSPECTLIST, errorCatcher, errorHandle, filter) //质检查看 export const getinspectLook = appRx.get(API_GET_INSPECT_GETINSPECTLOOK, errorCatcher, errorHandle, filter) //质检添加 export const addOut = appRx.post(API_POST_INSPECT_ADDOUT, errorCatcher, errorHandle, filter) //查看仓库 export const selectWarehouseSelf = appRx.get(API_GET_WAREHOUSESELF, errorCatcher, errorHandle, filter) //检斤列表查看 export const getweighingList = appRx.get(API_GET_WEIGHTCHECK_GETWEIGHINGLIST, errorCatcher, errorHandle, filter) //皮重检斤保存 export const tare = appRx.post(API_POST_WEIGHTCHECK_TARE, errorCatcher, errorHandle, filter) //毛重检斤保存 export const grossWeight = appRx.post(API_POST_WEIGHTCHECK_GROSSWEIGHT, errorCatcher, errorHandle, filter) //出库管理添加皮重检斤 export const tareAdd = appRx.post(API_POST_WEIGHTCHECK_ADDTARE, errorCatcher, errorHandle, filter) //出库管理编辑皮重检斤 export const tareEdit = appRx.post(API_POST_WEIGHTCHECK_EDITTAREOUT, errorCatcher, errorHandle, filter) //仓位下拉 export const getbinNumber = appRx.get(API_GET_INSPECT_GETBINNUMBER, errorCatcher, errorHandle, filter) //删除检斤信息 export const delelteWeighing = appRx.post(API_POST_INSPECT_DELETEWEIGHING, errorCatcher, errorHandle, filter) //合同编号下拉 export const contractList = appRx.get(API_GET_INSPECT_CONTRANCLIST, errorCatcher, errorHandle, filter)