diff --git a/Application/Admin/Controller/PayMerchantController.class.php b/Application/Admin/Controller/PayMerchantController.class.php index 34a592390..ffc427ceb 100644 --- a/Application/Admin/Controller/PayMerchantController.class.php +++ b/Application/Admin/Controller/PayMerchantController.class.php @@ -38,8 +38,8 @@ class PayMerchantController extends ThinkController $map['payed_time'] = array('elt', (strtotime($_REQUEST['timeend']) + 86399)); } - if ($_REQUEST['game_id']) { - $map['game_id'] = $_REQUEST['game_id']; + if ($_REQUEST['account']) { + $map['merchant.account'] = $_REQUEST['account']; } if ($_REQUEST['name']) { diff --git a/Application/Admin/Controller/SpendController.class.php b/Application/Admin/Controller/SpendController.class.php index 0bd40d44d..270745826 100644 --- a/Application/Admin/Controller/SpendController.class.php +++ b/Application/Admin/Controller/SpendController.class.php @@ -72,7 +72,7 @@ class SpendController extends ThinkController unset($_REQUEST['pay_game_status']); } - if (isset($_REQUEST['merchant_id'])) { + if ($_REQUEST['merchant_id']) { $map['merchant_id'] = $_REQUEST['merchant_id']; unset($_REQUEST['merchant_id']); } diff --git a/Application/Admin/View/Partner/add.html b/Application/Admin/View/Partner/add.html index ab72c45e1..b0e4f67a6 100644 --- a/Application/Admin/View/Partner/add.html +++ b/Application/Admin/View/Partner/add.html @@ -48,6 +48,7 @@ - + 结束时间不选默认永久 @@ -56,6 +57,7 @@ - + 结束时间不选默认永久 @@ -385,6 +387,7 @@ return false; }); + $(".time3").datetimepicker("setDate", new Date()); $('.time4').datetimepicker({ format: 'yyyy-mm-dd', diff --git a/Application/Admin/View/Partner/edit.html b/Application/Admin/View/Partner/edit.html index cf2c01034..c575f173e 100644 --- a/Application/Admin/View/Partner/edit.html +++ b/Application/Admin/View/Partner/edit.html @@ -48,6 +48,7 @@ - + 结束时间不选默认永久 @@ -56,6 +57,7 @@ - + 结束时间不选默认永久 diff --git a/Application/Admin/View/PayMerchant/index.html b/Application/Admin/View/PayMerchant/index.html index 67ef204cd..8a3167e72 100644 --- a/Application/Admin/View/PayMerchant/index.html +++ b/Application/Admin/View/PayMerchant/index.html @@ -73,7 +73,7 @@

支付方式统计

- 游戏充值统计 + 游戏充值统计 充值方式统计 支付方式统计
@@ -253,7 +253,7 @@ 无 - {$sum_radio.name}:{$sum_radio.ratio|default = 0}%          + {$sum_radio.name}({$sum_radio.merchant_way}):{$sum_radio.ratio|default = 0}%          @@ -288,7 +288,7 @@ $("#account").select2(); //导航高亮 - highlight_subnav('{:U('PayMerchant/index')}'); + highlight_subnav('{:U('PayChannel/index')}'); function showWindow() { layer.open({ diff --git a/Application/Admin/View/PaymentMerchant/rules.html b/Application/Admin/View/PaymentMerchant/rules.html index 3d26e4809..ec786b695 100644 --- a/Application/Admin/View/PaymentMerchant/rules.html +++ b/Application/Admin/View/PaymentMerchant/rules.html @@ -99,7 +99,7 @@
- + @@ -115,7 +115,7 @@
-  -  -
- - -
-
+ +  -  + 结束时间不选默认永久 @@ -490,7 +483,7 @@ return false; }); - $('#datetimepicker').datetimepicker({ + $('#contact_end').datetimepicker({ format: 'yyyy-mm-dd', language: "zh-CN", minView: 2, @@ -515,7 +508,7 @@ if(isNaN(end)) {return false;} - if(start>=end) {layer.msg('开始时间必须小于结束时间');return false;} + if(start>=end) {layer.msg('开始时间必须小于结束时间');$('.time3').val('');return false;} return false; }); @@ -532,7 +525,7 @@ if(isNaN(start)) {return false;} - if(start>=end) {layer.msg('开始时间必须小于结束时间');return false;} + if(start>=end) {layer.msg('开始时间必须小于结束时间');$('.time4').val('');return false;} return false; }); diff --git a/Application/Admin/View/PromoteCompany/edit.html b/Application/Admin/View/PromoteCompany/edit.html index aa615709c..dba23c5e4 100644 --- a/Application/Admin/View/PromoteCompany/edit.html +++ b/Application/Admin/View/PromoteCompany/edit.html @@ -166,16 +166,9 @@ 合同期限: -
- -  -  -
- - -
-
+ +  -  + 结束时间不选默认永久 @@ -564,7 +557,7 @@ return false; }); - $('#datetimepicker').datetimepicker({ + $('#contact_end').datetimepicker({ format: 'yyyy-mm-dd', language: "zh-CN", minView: 2, @@ -588,10 +581,28 @@ if(isNaN(end)) {return false;} - if(start>=end) {layer.msg('开始时间必须小于结束时间');return false;} + if(start>=end) {layer.msg('开始时间必须小于结束时间');$('.time3').val('');return false;} return false; }); + + $('.time4').datetimepicker({ + format: 'yyyy-mm-dd', + language:"zh-CN", + minView: "month", + autoclose:true + }).change(function(){ + var end = new Date($(this).val()).getTime(); + var start = new Date($('.time3').val()).getTime(); + + if(isNaN(start)) {return false;} + + if(start>=end) {layer.msg('开始时间必须小于结束时间');$('.time4').val('');return false;} + + + return false; + }); + $('.iconfont-btn-add').click(function (e) { var delBtn = $('.iconfont-btn-del'); var html = ''; diff --git a/Application/Admin/View/StatementMangement/rewardManageList.html b/Application/Admin/View/StatementMangement/rewardManageList.html index 749d97f42..827556839 100644 --- a/Application/Admin/View/StatementMangement/rewardManageList.html +++ b/Application/Admin/View/StatementMangement/rewardManageList.html @@ -171,16 +171,16 @@ - 游戏名 - 游戏合作方 - 结算时间 + 游戏名 + 游戏合作方 + 结算时间 奖惩确认时间 - 事件说明 + 事件说明 奖惩性质 奖惩类别 结算公司类型 - 结算方 + 结算方 会长账号 奖惩金额 结算方式 @@ -188,7 +188,7 @@ 奖惩类别 结算公司类型 - 结算方 + 结算方 会长账号 奖惩金额 结算方式 @@ -264,9 +264,9 @@ {:get_admin_name($data['creater_id'])} - 查看 - 编辑 - 删除 + 查看 + 编辑 + 删除 diff --git a/Application/Admin/View/StatementMangement/rewardManageSave.html b/Application/Admin/View/StatementMangement/rewardManageSave.html index c0ef1c85c..37c30839b 100644 --- a/Application/Admin/View/StatementMangement/rewardManageSave.html +++ b/Application/Admin/View/StatementMangement/rewardManageSave.html @@ -67,6 +67,8 @@ + +