From ce0196afead70b1201e97c6ec19935b55cda7786 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Sun, 27 Sep 2020 17:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BC=E9=87=91bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/PresidentDeposit/records.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Application/Admin/View/PresidentDeposit/records.html b/Application/Admin/View/PresidentDeposit/records.html index 11d7ea390..2424e0bf4 100644 --- a/Application/Admin/View/PresidentDeposit/records.html +++ b/Application/Admin/View/PresidentDeposit/records.html @@ -321,6 +321,15 @@ layer.msg('时间间隔不能超过31天,请重新选择日期'); return false; } + + var amount_start = Date.parse($("input[name='amount_start']").val()); + var amount_end = Date.parse($("input[name='amount_end']").val()); + + if( amount_start > amount_end) { + layer.msg('押金金额结束区间不可以小于起始区间'); + return false; + } + var url = $(this).attr('url'); var query = $('.jssearch').find('input').serialize(); query += "&"+$('.jssearch').find('select').serialize();