You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
796 B
JavaScript

import request from '@/utils/request'
// 查询物料分组列表
export function listProductGroups(query) {
return request({
url: '/wms/productGroups/list',
method: 'get',
params: query
});
}
// 查询物料分组详细
export function getProductGroups(pgId) {
return request({
url: '/wms/productGroups/' + pgId,
method: 'get'
});
}
// 新增物料分组
export function addProductGroups(data) {
return request({
url: '/wms/productGroups',
method: 'post',
data: data
});
}
// 修改物料分组
export function updateProductGroups(data) {
return request({
url: '/wms/productGroups',
method: 'put',
data: data
});
}
// 删除物料分组
export function delProductGroups(pgId) {
return request({
url: '/wms/productGroups/' + pgId,
method: 'delete'
});
}