From bbef86150df3583048fab398bfead99024880021 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 23 Oct 2024 12:18:47 +0800 Subject: [PATCH] =?UTF-8?q?2024-10-23=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/changeManagement/changeRecord.vue | 6 +-- src/views/modules/part/bomManagement.vue | 44 +++++++++++++++++-- src/views/modules/part/routingManagement.vue | 4 +- .../project/projectPart/searchProjectPart.vue | 17 +++++-- 4 files changed, 58 insertions(+), 13 deletions(-) diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue index cea2a6b..9131555 100644 --- a/src/views/modules/changeManagement/changeRecord.vue +++ b/src/views/modules/changeManagement/changeRecord.vue @@ -67,14 +67,14 @@ width="100" label="操作"> - - + diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 1e75752..153dd96 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -720,7 +720,7 @@ - + @@ -844,7 +844,7 @@ - + @@ -1615,6 +1615,24 @@ export default { fixed: '', columnWidth: 120 }, + { + userId: this.$store.state.user.name, + functionId: 104002, + serialNumber: '104002Table2PartStatus', + tableId: '104002Table2', + tableName: 'BOM子物料表', + columnProp: 'partStatus', + headerAlign: 'center', + align: 'left', + columnLabel: '零件状态编码', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100 + }, { userId: this.$store.state.user.name, functionId: 104002, @@ -1624,7 +1642,7 @@ export default { columnProp: 'partStatusDesc', headerAlign: 'center', align: 'left', - columnLabel: '零件状态', + columnLabel: '零件状态名称', columnHidden: false, columnImage: false, columnSortable: false, @@ -1851,6 +1869,24 @@ export default { fixed: '', columnWidth: 120 }, + { + userId: this.$store.state.user.name, + functionId: 104002, + serialNumber: '104002Table3PartStatus', + tableId: '104002Table3', + tableName: 'BOM副产品表', + columnProp: 'partStatus', + headerAlign: 'center', + align: 'left', + columnLabel: '零件状态编码', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100 + }, { userId: this.$store.state.user.name, functionId: 104002, @@ -1860,7 +1896,7 @@ export default { columnProp: 'partStatusDesc', headerAlign: 'center', align: 'left', - columnLabel: '零件状态', + columnLabel: '零件状态名称', columnHidden: false, columnImage: false, columnSortable: false, diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue index a564f84..71c8da5 100644 --- a/src/views/modules/part/routingManagement.vue +++ b/src/views/modules/part/routingManagement.vue @@ -605,7 +605,7 @@ - + @@ -678,7 +678,7 @@ - + diff --git a/src/views/modules/project/projectPart/searchProjectPart.vue b/src/views/modules/project/projectPart/searchProjectPart.vue index 730b2ae..28365dd 100644 --- a/src/views/modules/project/projectPart/searchProjectPart.vue +++ b/src/views/modules/project/projectPart/searchProjectPart.vue @@ -62,9 +62,12 @@ :min-width="item.columnWidth" :label="item.columnLabel"> @@ -974,13 +977,19 @@ }) }, + toPartMenu(partNo){ + if (this.$router.resolve(`/part-partInformation`).resolved.name === '404'){ + this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}); + }else { + this.$router.push({name:`part-partInformation`,params:{partNo:partNo},}) + } + }, + //单击切换订单 searchCustomer (row) { }, - - } }