代码提交
This commit is contained in:
parent
b339f85451
commit
9722a70491
|
@ -0,0 +1,52 @@
|
|||
import request from "@/utils/request";
|
||||
|
||||
// 查询生产计划明细日期记录列表
|
||||
export function listPlanRecord(query) {
|
||||
return request({
|
||||
url: "/mts/planRecord/list",
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询生产计划明细日期记录详细
|
||||
export function getPlanRecord(id) {
|
||||
return request({
|
||||
url: "/mts/planRecord/" + id,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function queryByBo(query) {
|
||||
return request({
|
||||
url: "/mts/planRecord/queryByBo",
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
// 新增生产计划明细日期记录
|
||||
export function addPlanRecord(data) {
|
||||
return request({
|
||||
url: "/mts/planRecord",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 修改生产计划明细日期记录
|
||||
export function updatePlanRecord(data) {
|
||||
return request({
|
||||
url: "/mts/planRecord",
|
||||
method: "put",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 删除生产计划明细日期记录
|
||||
export function delPlanRecord(id) {
|
||||
return request({
|
||||
url: "/mts/planRecord/" + id,
|
||||
method: "delete",
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue