完善报表信息,初始化查询
This commit is contained in:
@@ -105,6 +105,20 @@ function getNowFormatDateTime() {
|
||||
return currentdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* js获取当前时间, 格式“yyyy-MM”
|
||||
*/
|
||||
function getNowFormatMonth() {
|
||||
var date = new Date();
|
||||
var seperator1 = "-";
|
||||
var month = date.getMonth() + 1;
|
||||
if (month >= 1 && month <= 9) {
|
||||
month = "0" + month;
|
||||
}
|
||||
var currentdate = date.getFullYear() + seperator1 + month;
|
||||
return currentdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* js获取当前时间, 格式“yyyy-MM-dd”
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user