diff --git a/Application/Admin/Controller/ApplyController.class.php b/Application/Admin/Controller/ApplyController.class.php
index 575d541eb..adea430bd 100644
--- a/Application/Admin/Controller/ApplyController.class.php
+++ b/Application/Admin/Controller/ApplyController.class.php
@@ -418,7 +418,8 @@ class ApplyController extends ThinkController
public function android_del($model = null, $ids = null)
{
-
+ echo "不允许删除";
+ return ;
\Think\Log ::actionLog('Apply/android_del', 'Apply', 1);
$this -> del($model, $ids);
}
diff --git a/Application/Admin/View/Apply/and_lists.html b/Application/Admin/View/Apply/and_lists.html
index 2d532e612..0c0793d81 100644
--- a/Application/Admin/View/Apply/and_lists.html
+++ b/Application/Admin/View/Apply/and_lists.html
@@ -49,7 +49,9 @@
+
+
部门长
组长 |
推广员 |
- 付款时间 |
+ 下单时间 |
+ 到账时间 |
@@ -216,6 +228,7 @@
{$vo.p_p_pro_account}({$vo.p_p_pro_real_name}/{$vo.p_p_pro_group_remark}) |
{$vo.p_pro_account}({$vo.p_pro_real_name}/{$vo.p_pro_group_remark}) |
{$vo.pro_account}({$vo.pro_real_name}) |
+ {$vo.spend_time} |
{$vo.pay_time} |
@@ -292,6 +305,30 @@
scrollInput: false,
endDate: date
});
+
+ $('#payed_sdate').datetimepicker({
+ format: 'yyyy-mm-dd',
+ language: "zh-CN",
+ minView: 2,
+ autoclose: true,
+ scrollMonth: false,
+ scrollTime: false,
+ scrollInput: false,
+ endDate: date
+ });
+
+ $('#payed_edate').datetimepicker({
+ format: 'yyyy-mm-dd',
+ language: "zh-CN",
+ minView: 2,
+ autoclose: true,
+ pickerPosition: 'bottom-left',
+ scrollMonth: false,
+ scrollTime: false,
+ scrollInput: false,
+ endDate: date
+ });
+
function showPromoteSelect(html)
{
@@ -373,13 +410,30 @@
var sdate = Date.parse($('#sdate').val()) / 1000;
var edate = Date.parse($('#edate').val()) / 1000;
if (sdate > edate) {
- layer.msg('开始时间必须小于等于结束时间');
+ layer.msg('下单开始时间必须小于等于结束时间');
return false;
}
if ((edate - sdate) > 2592000) {
- layer.msg('时间间隔不能超过31天,请重新选择日期');
+ layer.msg('下单时间间隔不能超过31天,请重新选择日期');
+ return false;
+ }
+
+ var payed_sdate = Date.parse($('#payed_sdate').val()) / 1000;
+ var payed_edate = Date.parse($('#payed_edate').val()) / 1000;
+ if (payed_sdate > payed_edate) {
+ layer.msg('到账开始时间必须小于等于结束时间');
return false;
}
+ if ((payed_edate - payed_sdate) > 2592000) {
+ layer.msg('到账时间间隔不能超过31天,请重新选择日期');
+ return false;
+ }
+ if (payed_sdate && !payed_edate) {
+ layer.msg('到账结束时间不能为空');
+ }
+ if (!payed_sdate && payed_edate) {
+ layer.msg('到账开始时间不能为空');
+ }
var url = $(this).attr('url');
console.log(url);