import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_POST_ADDINFO, API_POST_DELINFO, API_GET_INFO, API_GET_CUSTOMERINFO, API_GET_COUNT } from '@/api/V2/warehouse' // 添加出入库 export const addList = appRx.post(API_POST_ADDINFO, errorCatcher, errorHandle, filter) // 删除出入库 export const delList = appRx.post(API_POST_DELINFO, errorCatcher, errorHandle, filter) // 出入库列表 export const getList = appRx.get(API_GET_INFO, errorCatcher, errorHandle, filter) // 查看客户信息 export const getcustomer = appRx.get(API_GET_CUSTOMERINFO, errorCatcher, errorHandle, filter) // 查当天提交的条数 export const getcount = appRx.get(API_GET_COUNT, errorCatcher, errorHandle, filter)