|
|
@@ -52,15 +52,6 @@
|
|
|
function formatterUA(value, row, index) {
|
|
|
return Math.round(value * 10000) / 100 + '%';
|
|
|
}
|
|
|
- $(document).ready(function () {
|
|
|
- var ctime = new Date();
|
|
|
- var beginDate = ctime.getFullYear() + "-" + (ctime.getMonth() + 1) ;
|
|
|
- var endDate = ctime.getFullYear() + "-" + (ctime.getMonth() + 1);
|
|
|
- $("#datebeginMaster").datebox("setValue", beginDate);
|
|
|
-
|
|
|
- //tbSearchSubmit();
|
|
|
-
|
|
|
- });
|
|
|
function toClear() {
|
|
|
var ctime = new Date();
|
|
|
var beginDate = ctime.getFullYear() + "-" + (ctime.getMonth() + 1) ;
|
|
|
@@ -104,7 +95,12 @@
|
|
|
});
|
|
|
var p = $('#datebeginMaster').datebox('panel'), // 日期选择对象
|
|
|
tds = false, // 日期选择对象中月份
|
|
|
- span = p.find('span.calendar-text'); // 显示月份层的触发控件
|
|
|
+ span = p.find('span.calendar-text'); // 显示月份层的触发控件
|
|
|
+
|
|
|
+ var ctime = new Date();
|
|
|
+ var beginDate = ctime.getFullYear() + "-" + (ctime.getMonth() + 2);
|
|
|
+ var endDate = ctime.getFullYear() + "-" + (ctime.getMonth() + 2);
|
|
|
+ $("#datebeginMaster").datebox("setValue", beginDate);
|
|
|
});
|
|
|
//搜索提交
|
|
|
function tbSearchSubmit() {
|