From 9eff370801922e05135d4aac616580c2a0fe856a Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 24 Mar 2020 18:42:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=B8=A0=E9=81=93=E6=84=8F?= =?UTF-8?q?=E6=84=BF=E7=BB=9F=E8=AE=A1bug=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PayChannelIntentionController.class.php | 4 ++-- .../View/PayChannelIntention/detail.html | 22 ++++++++++--------- .../Admin/View/PayChannelIntention/index.html | 12 +++++++++- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/Application/Admin/Controller/PayChannelIntentionController.class.php b/Application/Admin/Controller/PayChannelIntentionController.class.php index bcb7bd741..d139558b1 100644 --- a/Application/Admin/Controller/PayChannelIntentionController.class.php +++ b/Application/Admin/Controller/PayChannelIntentionController.class.php @@ -559,8 +559,8 @@ class PayChannelIntentionController extends AdminController count(if(tab_pay_channel_intention.pay_way="yeepay",tab_pay_channel_intention.pay_way,null)) shorcut, tab_pay_channel_intention.user_account, tab_pay_channel_intention.pay_amount, - CASE WHEN pay_status is null THEN 2 ELSE pay_status END as pay_status, - CASE WHEN pay_game_status is null THEN 2 ELSE pay_game_status END as pay_game_status, + CASE WHEN is_submit = 0 THEN 2 ELSE pay_status END as pay_status, + CASE WHEN is_submit = 0 THEN 2 ELSE pay_game_status END as pay_game_status, tab_pay_channel_intention.pay_order_number,tab_pay_channel_intention.create_time') // ->join('left join tab_spend on tab_pay_channel_intention.pay_order_number=tab_spend.pay_order_number') ->group('tab_pay_channel_intention.pay_order_number') diff --git a/Application/Admin/View/PayChannelIntention/detail.html b/Application/Admin/View/PayChannelIntention/detail.html index 147f5585f..17eb5952c 100644 --- a/Application/Admin/View/PayChannelIntention/detail.html +++ b/Application/Admin/View/PayChannelIntention/detail.html @@ -215,7 +215,7 @@
- 返回 + 返回
@@ -378,14 +378,6 @@ pickerPosition:'bottom-left' }) - - $('.page a').click(function () { - var href = $(this).attr('href'); - $(this).removeAttr('href'); - window.location.replace(href) - console.log(href) - }); - $('#forbit').click(function () { var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) { return $(elem).val(); @@ -438,7 +430,17 @@ }else{ url += '?' + query; } - window.location.replace(url); + + var start = $("#timestart").val(); + var end = $("#timeend").val(); + if(start !='' && end != ''){ + if (Date.parse(start) > Date.parse(end)){ + layer.msg('开始时间必须小于等于结束时间'); + return false; + } + } + + window.location.href = url; }); $('#noforbit').click(function () { diff --git a/Application/Admin/View/PayChannelIntention/index.html b/Application/Admin/View/PayChannelIntention/index.html index 19612b864..170c6434e 100644 --- a/Application/Admin/View/PayChannelIntention/index.html +++ b/Application/Admin/View/PayChannelIntention/index.html @@ -216,7 +216,7 @@