diff --git a/ruoyi-ui-vue3/src/api/mts/planRecord.js b/ruoyi-ui-vue3/src/api/mts/planRecord.js new file mode 100644 index 0000000..e6ac07e --- /dev/null +++ b/ruoyi-ui-vue3/src/api/mts/planRecord.js @@ -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", + }); +}