From 2d1d0e51011ca7bd6de738f905454c92f49c536b Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 15 Sep 2021 10:11:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/modules/dataExport/operStatic.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/epmet-oper-web/src/views/modules/dataExport/operStatic.vue b/epmet-oper-web/src/views/modules/dataExport/operStatic.vue index 81ec20a..592049e 100644 --- a/epmet-oper-web/src/views/modules/dataExport/operStatic.vue +++ b/epmet-oper-web/src/views/modules/dataExport/operStatic.vue @@ -288,8 +288,13 @@ export default { }, validate () { - if (!this.tableParams.customerId || this.agencyIdArray.length == 0) { - this.$message.info("请选择客户和组织") + if (!this.tableParams.customerId) { + this.$message.info("请选择客户") + return false + } + + if (this.agencyIdArray.length == 0) { + this.$message.info("请选择组织") return false }