From a6e0a3022cb4bf0895a7ccb411f9cf327aa5d9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Thu, 10 Oct 2024 15:45:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B010.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EventMarketing/liJianMarketing/index.vue | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue b/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue index ffb14fb10..dc03c42cd 100644 --- a/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue +++ b/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue @@ -157,9 +157,9 @@ - +
- 按订单金额 + 按订单金额 @@ -235,7 +235,7 @@
- 按加油升数 + 按加油升数 @@ -316,7 +316,7 @@ @click="deleteGrowthValues(index)">
-
+
@@ -426,6 +426,18 @@ export default { activeManner: [ {required: true, message: '活动方式不能为空', trigger: 'blur'}, ], + timeApplyStart: [ + { + validator: (rule, value, callback) => { + if (!this.ruleForm.timeApplyStart || !this.ruleForm.timeApplyEnd) { + callback(new Error("请选择完整的时间段")); + } else { + callback(); + } + }, + trigger: "change" + } + ] } } },