feat: 添加物料管理模块及相关功能
新增物料管理模块,包括产品、配料、采购、入库、出库等功能 添加物料看板页面和BOM管理组件 更新环境配置和依赖项
This commit is contained in:
44
gear-ui3/src/api/mat/matPriceHistory.js
Normal file
44
gear-ui3/src/api/mat/matPriceHistory.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询配料价格/均价变动历史列表
|
||||
export function listMatPriceHistory(query) {
|
||||
return request({
|
||||
url: '/mat/matPriceHistory/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询配料价格/均价变动历史详细
|
||||
export function getMatPriceHistory(historyId) {
|
||||
return request({
|
||||
url: '/mat/matPriceHistory/' + historyId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增配料价格/均价变动历史
|
||||
export function addMatPriceHistory(data) {
|
||||
return request({
|
||||
url: '/mat/matPriceHistory',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改配料价格/均价变动历史
|
||||
export function updateMatPriceHistory(data) {
|
||||
return request({
|
||||
url: '/mat/matPriceHistory',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除配料价格/均价变动历史
|
||||
export function delMatPriceHistory(historyId) {
|
||||
return request({
|
||||
url: '/mat/matPriceHistory/' + historyId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user