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, API_GET_WEIGHTCHECK, API_GET_COLLECTION, API_GET_COLLECTION_LIST, API_POST_COLLECTION_EDITCOLLECT, API_POST_COLLECTION_ADDREMARKS, API_POST_COLLECTION_MONEY, API_GET_INSPECT_CONTRANCLISTWEIGHING } 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) //检斤合同编号下拉 export const contractListWeighing = appRx.get(API_GET_INSPECT_CONTRANCLISTWEIGHING, errorCatcher, errorHandle, filter) //检斤查看 export const getweighing = appRx.get(API_GET_WEIGHTCHECK, errorCatcher, errorHandle, filter) //收款信息查看 export const getcollectionexamine = appRx.get(API_GET_COLLECTION, errorCatcher, errorHandle, filter) //收款 export const moneyCollection = appRx.post(API_POST_COLLECTION_MONEY, errorCatcher, errorHandle, filter) //收款管理列表 export const getcollection = appRx.get(API_GET_COLLECTION_LIST, errorCatcher, errorHandle, filter) //编辑实际应收 export const editcollect = appRx.post(API_POST_COLLECTION_EDITCOLLECT, errorCatcher, errorHandle, filter) //添加备注 export const remarksAdd = appRx.post(API_POST_COLLECTION_ADDREMARKS, errorCatcher, errorHandle, filter)