From c06e53ab31732164cd882aa3139069375f2c879d Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 28 Sep 2020 11:07:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E6=80=BBbug=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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Application/Admin/View/PresidentDeposit/records.html b/Application/Admin/View/PresidentDeposit/records.html index 2424e0bf4..52b1e4461 100644 --- a/Application/Admin/View/PresidentDeposit/records.html +++ b/Application/Admin/View/PresidentDeposit/records.html @@ -322,9 +322,12 @@ return false; } - var amount_start = Date.parse($("input[name='amount_start']").val()); - var amount_end = Date.parse($("input[name='amount_end']").val()); + var amount_start = parseFloat($("input[name='amount_start']").val()); + var amount_end = parseFloat($("input[name='amount_end']").val()); + console.log(amount_start) + console.log(amount_end) + if( amount_start > amount_end) { layer.msg('押金金额结束区间不可以小于起始区间'); return false;