123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- 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'
- })
- }
|