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}) => {