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_GET_WAREHOUSE_DELETE, API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN, API_POST_STORAGE_PUT, API_GET_SELECT_INFO } 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.get(API_GET_WAREHOUSE_DELETE, 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)