From 58d4b1505aa2e495402c2db7e904462397abf5df Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Thu, 12 Aug 2021 15:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=B5=B7=E6=8A=A5=E4=BB=B7=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8A=A5=E4=BB=B7=E5=A4=B1=E6=95=88=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/pages/offer/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/supplier/pages/offer/index.vue b/supplier/pages/offer/index.vue index e30a7cd..8bd0c11 100644 --- a/supplier/pages/offer/index.vue +++ b/supplier/pages/offer/index.vue @@ -230,7 +230,13 @@ this.$msg('请选择今天之后的时间') return }else { - this[current_name] = event.detail.value; + + if(this.deadline_start >= event.detail.value) { + this.$msg('失效时间不能小于报价生效时间') + return + }else { + this[current_name] = event.detail.value; + } } }