Browse Source

修改判断

lex-xin 3 years ago
parent
commit
d08ae3b20a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/reportForm/index.vue

+ 4 - 0
src/views/reportForm/index.vue

@@ -772,6 +772,10 @@ export default {
       );
     },
     exportTrain() {
+      if (!this.trainOrganId) {
+        this.$message.error("请选择分部");
+        return;
+      }
       Export(
         this,
         {