From 10c9c17bdcb3566816a7bc2e57cc7cdd2ea95eef Mon Sep 17 00:00:00 2001
From: yinq <1345442242@qq.com>
Date: Sat, 7 Oct 2023 16:53:07 +0800
Subject: [PATCH] =?UTF-8?q?add=20-=20=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/production/planInfo.js | 44 +++
src/views/production/planInfo/index.vue | 423 ++++++++++++++++++++++++
2 files changed, 467 insertions(+)
create mode 100644 src/api/production/planInfo.js
create mode 100644 src/views/production/planInfo/index.vue
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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.beginTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+ {{ parseTime(scope.row.endTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createdTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+ {{ parseTime(scope.row.updatedTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+