feat: 新增带默认BOM的产品和原材料接口并优化界面
refactor(HomeModules): 重构统计面板组件并添加骨架屏 feat(coil): 添加物料类型和更新时间查询条件 style(ProductInfo/RawMaterialInfo): 阻止事件冒泡 chore: 添加钢卷图标资源
This commit is contained in:
@@ -26,6 +26,15 @@ export function addProduct(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 新增产品带默认BOM
|
||||
export function addProductWithBom(data) {
|
||||
return request({
|
||||
url: '/wms/product/addWithBom',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改产品
|
||||
export function updateProduct(data) {
|
||||
return request({
|
||||
|
||||
@@ -26,6 +26,15 @@ export function addRawMaterial(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 新增原材料带默认BOM
|
||||
export function addRawMaterialWithBom(data) {
|
||||
return request({
|
||||
url: '/wms/rawMaterial/addWithBom',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改原材料
|
||||
export function updateRawMaterial(data) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user