import request from '@/utils/request' // 创建出入库历史(有库位) export function createWarehouseLocationHis(data) { return request({ url: '/extend/warehouse-location-his/create', method: 'post', data: data }) } // 更新出入库历史(有库位) export function updateWarehouseLocationHis(data) { return request({ url: '/extend/warehouse-location-his/update', method: 'put', data: data }) } // 删除出入库历史(有库位) export function deleteWarehouseLocationHis(id) { return request({ url: '/extend/warehouse-location-his/delete?id=' + id, method: 'delete' }) } // 获得出入库历史(有库位) export function getWarehouseLocationHis(id) { return request({ url: '/extend/warehouse-location-his/get?id=' + id, method: 'get' }) } // 获得出入库历史(有库位)分页 export function getWarehouseLocationHisPage(query) { return request({ url: '/extend/warehouse-location-his/page', method: 'get', params: query }) } // 导出出入库历史(有库位) Excel export function exportWarehouseLocationHisExcel(query) { return request({ url: '/extend/warehouse-location-his/export-excel', method: 'get', params: query, responseType: 'blob' }) }