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();