From f3efd97a19b853376f951282ff7c7dc7ff0c9457 Mon Sep 17 00:00:00 2001 From: tping Date: Wed, 3 Feb 2021 12:32:46 +0800 Subject: [PATCH] 1 --- Application/Home/View/default/Query/recharge.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Application/Home/View/default/Query/recharge.html b/Application/Home/View/default/Query/recharge.html index 05b9e23fe..587322d0e 100644 --- a/Application/Home/View/default/Query/recharge.html +++ b/Application/Home/View/default/Query/recharge.html @@ -432,15 +432,28 @@ layer.msg('到账时间间隔不能超过31天,请重新选择日期'); return false; } + + if (sdate && !edate) { + layer.msg('下单结束时间不能为空'); + return false; + } + if (!sdate && edate) { + layer.msg('下单开始时间不能为空'); + return false; + } + if (payed_sdate && !payed_edate) { layer.msg('到账结束时间不能为空'); + return false; } if (!payed_sdate && payed_edate) { layer.msg('到账开始时间不能为空'); + return false; } if (!edate && !sdate && !payed_sdate && !payed_edate) { layer.msg('时间不能为空'); + return false; } var url = $(this).attr('url');