库区设置

This commit is contained in:
JinLu.Yin
2022-05-08 17:53:21 +08:00
parent 2e3d06b4b0
commit 4dd100db45
4 changed files with 427 additions and 6 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询库区设置列表
export function listLocation(query) {
return request({
url: '/mes/wm/location/list',
method: 'get',
params: query
})
}
// 查询库区设置详细
export function getLocation(locationId) {
return request({
url: '/mes/wm/location/' + locationId,
method: 'get'
})
}
// 新增库区设置
export function addLocation(data) {
return request({
url: '/mes/wm/location',
method: 'post',
data: data
})
}
// 修改库区设置
export function updateLocation(data) {
return request({
url: '/mes/wm/location',
method: 'put',
data: data
})
}
// 删除库区设置
export function delLocation(locationId) {
return request({
url: '/mes/wm/location/' + locationId,
method: 'delete'
})
}