import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_GET_WAREHOUSE_BASEINFO, API_POST_ADD_WAREHOUSE_BASEINFO, API_GET_WAREHOUSE_LOOK, API_GET_WAREHOUSE_CUSTOMDROPDOWN, API_POST_WAREHOUSE_DELETE, API_GET_WAREHOUSE_DELETELIST, API_POST_WAREHOUSE_HIDE, API_POST_WAREHOUSE_EDIT, API_GET_WAREHOUSE_IOSS, API_GET_WAREHOUSE_NAME, API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN, API_POST_STORAGE_PUT, API_GET_SELECT_INFO, API_GET_WAREHOUSE_INVENTORYCOUNT, API_POST_STORAGE_IOSS, API_GET_WAREHOUSE_COMPLETE, API_POST_WAREHOUSE_DEL_POSITION, API_POST_WAREHOUSE_DEL_INOUTINFO } from '@/api/V2/warehouse' // 列表 export const getList = appRx.get(API_GET_WAREHOUSE_BASEINFO, errorCatcher, errorHandle, filter) // 添加 export const addList = appRx.post(API_POST_ADD_WAREHOUSE_BASEINFO, errorCatcher, errorHandle, filter) //仓库查看 export const getLook = appRx.get(API_GET_WAREHOUSE_LOOK, errorCatcher, errorHandle, filter) //仓库下拉 export const xiala = appRx.get(API_GET_WAREHOUSE_CUSTOMDROPDOWN, errorCatcher, errorHandle, filter) //删除 export const deletewarehouse = appRx.post(API_POST_WAREHOUSE_DELETE, errorCatcher, errorHandle, filter) //删除库房列表 export const delectlist = appRx.get(API_GET_WAREHOUSE_DELETELIST, errorCatcher, errorHandle, filter) //隐藏 export const hide = appRx.post(API_POST_WAREHOUSE_HIDE, errorCatcher, errorHandle, filter) //仓库编辑 export const edit = appRx.post(API_POST_WAREHOUSE_EDIT, errorCatcher, errorHandle, filter) //盘损 export const ioss = appRx.get(API_GET_WAREHOUSE_IOSS, errorCatcher, errorHandle, filter) //货名下拉 export const goodsname = appRx.get(API_GET_WAREHOUSE_NAME, errorCatcher, errorHandle, filter) // 货名等下拉 export const pullDown = appRx.get(API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN, errorCatcher, errorHandle, filter) // 入库添加 export const addstorageputList = appRx.post(API_POST_STORAGE_PUT, errorCatcher, errorHandle, filter) // 流转记录 export const addselectinfoList = appRx.get(API_GET_SELECT_INFO, errorCatcher, errorHandle, filter) // 盘损记录 export const adjustmentrecordList = appRx.get(API_GET_WAREHOUSE_INVENTORYCOUNT, errorCatcher, errorHandle, filter) //盘损提交 export const submitioss = appRx.post(API_POST_STORAGE_IOSS, errorCatcher, errorHandle, filter) //待完善记录 export const complete = appRx.get(API_GET_WAREHOUSE_COMPLETE, errorCatcher, errorHandle, filter) // 编辑删除仓位 export const delPosition = appRx.post(API_POST_WAREHOUSE_DEL_POSITION, errorCatcher, errorHandle, filter) //删除待完善记录 export const delInOut = appRx.post(API_POST_WAREHOUSE_DEL_INOUTINFO, errorCatcher, errorHandle, filter)