记录历史前端js提交

This commit is contained in:
cjw 2024-02-23 10:24:39 +08:00
parent f263f26bda
commit 2498326db6
1 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询生产计划明细日期记录历史列表
export function listPlanRecordHistory(query) {
return request({
url: '/mts/planRecord/history/list',
method: 'get',
params: query
})
}
// 查询生产计划明细日期记录历史详细
export function getPlanRecordHistory(id) {
return request({
url: '/mts/planRecord/history/' + id,
method: 'get'
})
}
// 新增生产计划明细日期记录历史
export function addPlanRecordHistory(data) {
return request({
url: '/mts/planRecord/history',
method: 'post',
data: data
})
}
// 修改生产计划明细日期记录历史
// export function updatePlanRecordHistory(data) {
// return request({
// url: '/mts/planRecord/history',
// method: 'put',
// data: data
// })
// }
// 删除生产计划明细日期记录历史
// export function delPlanRecordHistory(id) {
// return request({
// url: '/mts/planRecord/history/' + id,
// method: 'delete'
// })
// }