53 lines
1.0 KiB
JavaScript
53 lines
1.0 KiB
JavaScript
|
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",
|
||
|
});
|
||
|
}
|