From 6c16dd20b3bf0bb9aac615f589eea07fafbb0d49 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 8 Jul 2026 13:11:33 +0800 Subject: [PATCH] =?UTF-8?q?2026-07-08=20RoHS=E4=BC=98=E5=8C=96=EF=BC=8CIFS?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BF=A1=E6=81=AF=E7=9B=B4=E6=8E=A5=E5=8F=96?= =?UTF-8?q?part=EF=BC=8C=E5=B9=B6=E5=A2=9E=E5=8A=A0=E8=B7=B3=E8=BD=ACpart?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/rohs/rohsRecord.vue | 41 +++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/src/views/modules/rohs/rohsRecord.vue b/src/views/modules/rohs/rohsRecord.vue index 96596a1..6d3ccad 100644 --- a/src/views/modules/rohs/rohsRecord.vue +++ b/src/views/modules/rohs/rohsRecord.vue @@ -508,7 +508,13 @@ style="width: 100%"> - + + + @@ -1534,7 +1540,13 @@ :height="secondHeight" style="width: 100%"> - + + + @@ -3548,6 +3560,31 @@ export default { }) return fields }, + toPartMenu (ifsPartNo) { + const targetPartNo = String(ifsPartNo || '').trim() + if (!targetPartNo) { + this.$message.warning('IFS物料编码为空,无法跳转') + return + } + if (this.$router.resolve(`/part-partInformation`).resolved.name === '404') { + this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定'}) + } else { + // 先关闭当前页面所有可能产生全局遮罩的弹窗,避免跳转后残留遮罩层 + this.modalFlag = false + this.chooseProjectListFlag = false + this.projectMaterialDialogFlag = false + this.rohsCreatePartDialogFlag = false + this.rohsCharacteristicDialogFlag = false + this.hsfApproverFlag = false + this.relatedPeopleFlag = false + this.submitModalFlag = false + this.rohsRemarkFlag = false + this.rohsMaterialDescFlag = false + this.$nextTick(() => { + this.$router.push({name: `part-partInformation`, params: {ifsPartNo: targetPartNo}}) + }) + } + }, // 单选可取消 radioClick (field, value) { if (this.modalData[field] === value) {