WMS:
1、仓库类别增删改查
2、原材料入库记录查询
master
xins 6 months ago
parent 7ef9e16de0
commit 0685544bcd

@ -0,0 +1,56 @@
import request from '@/utils/request'
// 查询原材料入库记录列表
export function listRawinstock(query) {
return request({
url: '/wms/rawinstock/list',
method: 'get',
params: query
})
}
// 查询原材料入库记录详细
export function getRawinstock(rawInstockId) {
return request({
url: '/wms/rawinstock/' + rawInstockId,
method: 'get'
})
}
// 新增原材料入库记录
export function addRawinstock(data) {
return request({
url: '/wms/rawinstock',
method: 'post',
data: data
})
}
// 修改原材料入库记录
export function updateRawinstock(data) {
return request({
url: '/wms/rawinstock',
method: 'put',
data: data
})
}
// 删除原材料入库记录
export function delRawinstock(rawInstockId) {
return request({
url: '/wms/rawinstock/' + rawInstockId,
method: 'delete'
})
}
// 查询仓库列表
export function getRawWarehouses(query) {
return request({
url: '/wms/rawinstock/getRawWarehouses',
method: 'get',
params: query
})
}

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询仓库类别列表
export function listWmscategory(query) {
return request({
url: '/wms/wmscategory/list',
method: 'get',
params: query
})
}
// 查询仓库类别详细
export function getWmscategory(categoryId) {
return request({
url: '/wms/wmscategory/' + categoryId,
method: 'get'
})
}
// 新增仓库类别
export function addWmscategory(data) {
return request({
url: '/wms/wmscategory',
method: 'post',
data: data
})
}
// 修改仓库类别
export function updateWmscategory(data) {
return request({
url: '/wms/wmscategory',
method: 'put',
data: data
})
}
// 删除仓库类别
export function delWmscategory(categoryId) {
return request({
url: '/wms/wmscategory/' + categoryId,
method: 'delete'
})
}
Loading…
Cancel
Save