From 3d340d18f54bfba46defb09c43dc8fa61ff152a2 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 24 Dec 2024 17:57:41 +0800 Subject: [PATCH] =?UTF-8?q?2024-12-24=20=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/part/bomManagement.vue | 2 +- src/views/modules/part/routingManagement.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 95356ba..e050d2d 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -3761,7 +3761,7 @@ export default { this.$message.warning('请填写损耗率!') return } - if (this.componentData.issueType === '' || this.componentData.issueType == null) { + if (this.componentData.productFlag === 'component' && (this.componentData.issueType === '' || this.componentData.issueType == null)) { this.$message.warning('请选择生产属性!') return } diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue index e059758..f6e609b 100644 --- a/src/views/modules/part/routingManagement.vue +++ b/src/views/modules/part/routingManagement.vue @@ -789,7 +789,7 @@ - + @@ -4017,6 +4017,7 @@ export default { type: 'warning' }).then(() => { let tempData = { + updateBy: this.$store.state.user.name, informationList: this.workGuidelineSelections } deleteWorkGuideline(tempData).then(({data}) => {