From c030d1d1f3b8c663f2a0604a90fcdf0de2781513 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Wed, 15 May 2024 10:57:23 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/noticeGroup.js | 54 ++++++++ src/views/system/notice/TeamBind.vue | 198 +++++++++++++++++++++++++++ src/views/system/notice/index.vue | 100 +++++++++----- 3 files changed, 315 insertions(+), 37 deletions(-) create mode 100644 src/api/system/noticeGroup.js create mode 100644 src/views/system/notice/TeamBind.vue diff --git a/src/api/system/noticeGroup.js b/src/api/system/noticeGroup.js new file mode 100644 index 00000000..fd900c7e --- /dev/null +++ b/src/api/system/noticeGroup.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 查询通知公告-班组列表 +export function listNoticeGroup(query) { + return request({ + url: '/system/noticeGroup/list', + method: 'get', + params: query + }); +} + +// 查询通知公告-班组详细 +export function getNoticeGroup(id) { + return request({ + url: '/system/noticeGroup/' + id, + method: 'get' + }); +} + +// 新增通知公告-班组 +export function addNoticeGroup(data) { + return request({ + url: '/system/noticeGroup', + method: 'post', + data: data + }); +} + +// 修改通知公告-班组 +export function updateNoticeGroup(data) { + return request({ + url: '/system/noticeGroup', + method: 'put', + data: data + }); +} + +// 删除通知公告-班组 +export function delNoticeGroup(data) { + return request({ + url: '/system/noticeGroup/delNoticeGroup', + method: 'post', + data: data + }); +} + +export function teamBind(data) { + return request({ + url: '/system/noticeGroup/teamBind', + method: 'post', + data: data + }); +} + diff --git a/src/views/system/notice/TeamBind.vue b/src/views/system/notice/TeamBind.vue new file mode 100644 index 00000000..c2909d8b --- /dev/null +++ b/src/views/system/notice/TeamBind.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 19e25a00..c0b12b93 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -66,6 +66,17 @@ v-hasPermi="['system:notice:remove']" >删除 + + 班组绑定 + @@ -125,56 +136,62 @@ - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - - + + + + + + + + + + + + + + + + + {{dict.label}} + + + + + + + + + + + \ No newline at end of file + From a9820f6ed293516482c00c9929070be526b99665 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 15 May 2024 16:00:46 +0800 Subject: [PATCH 2/4] =?UTF-8?q?2024-05-15=20=E5=9F=BA=E7=A1=80=E4=BF=A1?= =?UTF-8?q?=E6=81=AF-=E4=BA=A7=E5=93=81-=E4=BF=AE=E6=94=B9=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E9=99=84=E5=B1=9E=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/product.js | 9 ++ src/views/wms/product/index.vue | 250 +++++++++++++++++++++----------- 2 files changed, 175 insertions(+), 84 deletions(-) diff --git a/src/api/wms/product.js b/src/api/wms/product.js index 9a8a974d..f580eb96 100644 --- a/src/api/wms/product.js +++ b/src/api/wms/product.js @@ -55,3 +55,12 @@ export function delProduct(productId) { method: 'delete' }); } + +// 修改物料信息 +export function updateProductAttached(data) { + return request({ + url: '/wms/attached', + method: 'put', + data: data + }); +} diff --git a/src/views/wms/product/index.vue b/src/views/wms/product/index.vue index 5b00c479..a8fa9e8b 100644 --- a/src/views/wms/product/index.vue +++ b/src/views/wms/product/index.vue @@ -62,6 +62,18 @@ >修改 + + 修改附属属性 + 同步物料工艺 + >同步物料工艺