From 9722a7049104184488a4107aaa402bf6b7c0e8d0 Mon Sep 17 00:00:00 2001 From: userName <244140623@qq.com> Date: Thu, 22 Feb 2024 08:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui-vue3/src/api/mts/planRecord.js | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 ruoyi-ui-vue3/src/api/mts/planRecord.js 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", + }); +}