diff --git a/src/views/processManagement/components/processMainte/processPlanning.vue b/src/views/processManagement/components/processMainte/processPlanning.vue index c88dcc3..4f82ec8 100644 --- a/src/views/processManagement/components/processMainte/processPlanning.vue +++ b/src/views/processManagement/components/processMainte/processPlanning.vue @@ -775,6 +775,9 @@ export default { }, // 导入模板 modelLevelChange() { + if(!this.treeNodes.rawData){ + return this.$message.warning('请先选择工艺树节点'); + } this.modelLevelLoading = true; getModelDetailList({ Id: this.modelLevel }).then(res => { const templateData = res.data.data.proDetailVOList;