Commit bb9b5e9d authored by wanglianghe's avatar wanglianghe

库域仓位管理

parent d759053c
import request from '@/utils/request'
// 创建库区库域
export function createWarehouseArea(data) {
return request({
url: '/ecw/warehouse-area/create',
method: 'post',
data: data
})
}
// 更新库区库域
export function updateWarehouseArea(data) {
return request({
url: '/ecw/warehouse-area/update',
method: 'put',
data: data
})
}
// 删除库区库域
export function deleteWarehouseArea(id) {
return request({
url: '/ecw/warehouse-area/delete?id=' + id,
method: 'delete'
})
}
// 获得库区库域
export function getWarehouseArea(id) {
return request({
url: '/ecw/warehouse-area/get?id=' + id,
method: 'get'
})
}
// 获得库区库域分页
export function getWarehouseAreaPage(query) {
return request({
url: '/ecw/warehouse-area/page',
method: 'get',
params: query
})
}
// 导出库区库域 Excel
export function exportWarehouseAreaExcel(query) {
return request({
url: '/ecw/warehouse-area/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
export function getWarehouseAreaList(query) {
return request({
url: '/ecw/warehouse-area/list',
method: 'get',
params: query
})
}
import request from '@/utils/request'
// 创建仓位
export function createWarehouseAreaPosition(data) {
return request({
url: '/ecw/warehouse-area-position/create',
method: 'post',
data: data
})
}
// 更新仓位
export function updateWarehouseAreaPosition(data) {
return request({
url: '/ecw/warehouse-area-position/update',
method: 'put',
data: data
})
}
// 删除仓位
export function deleteWarehouseAreaPosition(id) {
return request({
url: '/ecw/warehouse-area-position/delete?id=' + id,
method: 'delete'
})
}
// 获得仓位
export function getWarehouseAreaPosition(id) {
return request({
url: '/ecw/warehouse-area-position/get?id=' + id,
method: 'get'
})
}
// 获得仓位分页
export function getWarehouseAreaPositionPage(query) {
return request({
url: '/ecw/warehouse-area-position/page',
method: 'get',
params: query
})
}
// 导出仓位 Excel
export function exportWarehouseAreaPositionExcel(query) {
return request({
url: '/ecw/warehouse-area-position/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment