From 23d1abe4b9cb9e1a5f5c99e83bf8f3bc8986f36c Mon Sep 17 00:00:00 2001 From: yinq <1345442242@qq.com> Date: Tue, 14 Nov 2023 15:08:06 +0800 Subject: [PATCH] =?UTF-8?q?add=20-=20=E5=B7=A5=E5=BA=8F=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/processStation.js | 44 +++ src/views/base/orderBomInfo/childIndex.vue | 2 +- src/views/base/processStation/index.vue | 376 +++++++++++++++++++++ src/views/production/planInfo/index.vue | 32 +- 4 files changed, 437 insertions(+), 17 deletions(-) create mode 100644 src/api/base/processStation.js create mode 100644 src/views/base/processStation/index.vue diff --git a/src/api/base/processStation.js b/src/api/base/processStation.js new file mode 100644 index 0000000..586b79d --- /dev/null +++ b/src/api/base/processStation.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询生产工序/工位信息列表 +export function listProcessStation(query) { + return request({ + url: '/base/processStation/list', + method: 'get', + params: query + }) +} + +// 查询生产工序/工位信息详细 +export function getProcessStation(objId) { + return request({ + url: '/base/processStation/' + objId, + method: 'get' + }) +} + +// 新增生产工序/工位信息 +export function addProcessStation(data) { + return request({ + url: '/base/processStation', + method: 'post', + data: data + }) +} + +// 修改生产工序/工位信息 +export function updateProcessStation(data) { + return request({ + url: '/base/processStation', + method: 'put', + data: data + }) +} + +// 删除生产工序/工位信息 +export function delProcessStation(objId) { + return request({ + url: '/base/processStation/' + objId, + method: 'delete' + }) +} diff --git a/src/views/base/orderBomInfo/childIndex.vue b/src/views/base/orderBomInfo/childIndex.vue index ebcc5b5..db88fb1 100644 --- a/src/views/base/orderBomInfo/childIndex.vue +++ b/src/views/base/orderBomInfo/childIndex.vue @@ -325,7 +325,7 @@ export default { }, /** 返回按钮操作 */ handleClose() { - const obj = { path: "/product/orderBomInfo" }; + const obj = { path: "/base/orderBomInfo" }; this.$tab.closeOpenPage(obj); }, /** 展开/折叠操作 */ diff --git a/src/views/base/processStation/index.vue b/src/views/base/processStation/index.vue new file mode 100644 index 0000000..758f515 --- /dev/null +++ b/src/views/base/processStation/index.vue @@ -0,0 +1,376 @@ + + + diff --git a/src/views/production/planInfo/index.vue b/src/views/production/planInfo/index.vue index 1f0d032..a38ca53 100644 --- a/src/views/production/planInfo/index.vue +++ b/src/views/production/planInfo/index.vue @@ -54,16 +54,16 @@ - - 新增 - + + + + + + + + + + - - + + @@ -169,11 +169,11 @@ - - + + - - + +