Commit 70e249b7 authored by xishifeng's avatar xishifeng

业绩查询日期调整

parent 5e40a9f4
...@@ -112,7 +112,8 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function( ...@@ -112,7 +112,8 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
} else { } else {
//获取当前时间 //获取当前时间
var _currentDate = new Date(), var _currentDate = new Date(),
_year = _currentDate.getFullYear(), _currentDate.setDate(_currentDate.getDate() - 1);
var _year = _currentDate.getFullYear(),
_moon = dealDate(_currentDate.getMonth() + 1), _moon = dealDate(_currentDate.getMonth() + 1),
_end_day_temp = _currentDate.getDate(), _end_day_temp = _currentDate.getDate(),
_end_day = dealDate(_end_day_temp), _end_day = dealDate(_end_day_temp),
......
...@@ -217,8 +217,9 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu ...@@ -217,8 +217,9 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
callback(_session_startdate, _session_enddate); callback(_session_startdate, _session_enddate);
} else { } else {
//获取当前时间 //获取当前时间
var _currentDate = new Date(), var _currentDate = new Date();
_year = _currentDate.getFullYear(), _currentDate.setDate(_currentDate.getDate() - 1);
var _year = _currentDate.getFullYear(),
_moon = dealDate(_currentDate.getMonth() + 1), _moon = dealDate(_currentDate.getMonth() + 1),
_end_day_temp = _currentDate.getDate(), _end_day_temp = _currentDate.getDate(),
_end_day = dealDate(_end_day_temp), _end_day = dealDate(_end_day_temp),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment