import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_GET_MAPINFO, API_GET_WAREHOUSE_LOOK, API_POST_WAREHOUSE_EDIT, API_GET_BILLNO, API_GET_TRADESERVICES_LIST, API_POST_RECEIPTAPPL_ADD } from '@/api/V2/tradeServicesManagement' // 列表 export const getList = appRx.get(API_GET_TRADESERVICES_LIST, errorCatcher, errorHandle, filter) export const getMapInfo = appRx.get(API_GET_MAPINFO, errorCatcher, errorHandle, filter) // 添加 export const addList = appRx.post(API_POST_RECEIPTAPPL_ADD, errorCatcher, errorHandle, filter) // 查看 export const getwarehousewarrantList = appRx.get(API_GET_WAREHOUSE_LOOK, errorCatcher, errorHandle, filter) // 编辑 export const editList = appRx.post(API_POST_WAREHOUSE_EDIT, errorCatcher, errorHandle, filter) // 获取业务编号 export const getbillno = appRx.get(API_GET_BILLNO, errorCatcher, errorHandle, filter)