diff --git a/src/api/production/planInfo.js b/src/api/production/planInfo.js new file mode 100644 index 0000000..c728924 --- /dev/null +++ b/src/api/production/planInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询生产计划列表 +export function listPlanInfo(query) { + return request({ + url: '/production/planInfo/list', + method: 'get', + params: query + }) +} + +// 查询生产计划详细 +export function getPlanInfo(objId) { + return request({ + url: '/production/planInfo/' + objId, + method: 'get' + }) +} + +// 新增生产计划 +export function addPlanInfo(data) { + return request({ + url: '/production/planInfo', + method: 'post', + data: data + }) +} + +// 修改生产计划 +export function updatePlanInfo(data) { + return request({ + url: '/production/planInfo', + method: 'put', + data: data + }) +} + +// 删除生产计划 +export function delPlanInfo(objId) { + return request({ + url: '/production/planInfo/' + objId, + method: 'delete' + }) +} diff --git a/src/views/production/planInfo/index.vue b/src/views/production/planInfo/index.vue new file mode 100644 index 0000000..80bc4a8 --- /dev/null +++ b/src/views/production/planInfo/index.vue @@ -0,0 +1,423 @@ + + +