diff --git a/topages/workquery/workquery.js b/topages/workquery/workquery.js index 0366676..5ff99eb 100644 --- a/topages/workquery/workquery.js +++ b/topages/workquery/workquery.js @@ -14,7 +14,7 @@ var fun={ }, dateInit:function () { //时间初始化 - $('#workquery-daterange-btnsta').val(moment().subtract('days', 6).format('YYYY-MM-DD')); + $('#workquery-daterange-btnsta').val(moment().subtract('days', 0).format('YYYY-MM-DD')); $('#workquery-daterange-btnend').val(moment().subtract('days', 0).format('YYYY-MM-DD')); //开始日期 $("#workquery-daterange-btnsta").datetimepicker({