修改判断

This commit is contained in:
宋伟佳
2021-12-13 14:24:46 +08:00
parent b4be94d1ea
commit f76ea7f534
2 changed files with 82 additions and 80 deletions
@@ -598,7 +598,7 @@ export default {
}) })
if(!fileFlag){ if(!fileFlag){
this.$message.warning('请选择分解单来源') this.$message.warning('请选择分解单来源')
} }else{
if (this.listForm.dataList.length < 1) { if (this.listForm.dataList.length < 1) {
this.$message.warning("请选择带标准的项目"); this.$message.warning("请选择带标准的项目");
} else { } else {
@@ -640,6 +640,7 @@ export default {
} }
}); });
} }
}
}, },
choiceZRR(type, title, id) { choiceZRR(type, title, id) {
this.nodeList = []; this.nodeList = [];
@@ -615,7 +615,7 @@ export default {
}) })
if(!fileFlag){ if(!fileFlag){
this.$message.warning('请选择分解单来源') this.$message.warning('请选择分解单来源')
} }else{
if (this.listForm.dataList.length < 1) { if (this.listForm.dataList.length < 1) {
this.$message.warning("请选择带标准的项目"); this.$message.warning("请选择带标准的项目");
} else { } else {
@@ -657,6 +657,7 @@ export default {
} }
}); });
} }
}
}, },
// 点击查看 // 点击查看
handlePreview(item) { handlePreview(item) {