import request from '@/utils/request' // 查询库区列表 export function listLocationZone(query) { return request({ url: '/base/locationZone/list', method: 'get', params: query }) } // 查询库区详细 export function getLocationZone(zoneId) { return request({ url: '/base/locationZone/' + zoneId, method: 'get' }) } // 新增库区 export function addLocationZone(data) { return request({ url: '/base/locationZone', method: 'post', data: data }) } // 修改库区 export function updateLocationZone(data) { return request({ url: '/base/locationZone', method: 'put', data: data }) } // 删除库区 export function delLocationZone(zoneId) { return request({ url: '/base/locationZone/' + zoneId, method: 'delete' }) } // 查询库区信息字典 export function queryLocationZoneDict() { return request({ url: '/base/locationZone/queryDict', method: 'get', }) } // 查询部门下拉树结构 export function treeselectLocationZone() { return request({ url: '/base/locationZone/treeselect', method: 'get' }) }