Ver Fonte

修改判断

lex-xin há 3 anos atrás
pai
commit
d08ae3b20a
1 ficheiros alterados com 4 adições e 0 exclusões
  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,
         {