search range 完成pivot

todo:时差
This commit is contained in:
ivan deng
2017-11-16 01:58:38 +08:00
parent 314ca5ceb9
commit 9877161b4c
6 changed files with 71 additions and 73 deletions

View File

@@ -52,7 +52,7 @@ ListView.include({
var l10n = _t.database.parameters;
var datepickers_options = {
pickTime: false,
pickTime: true,
startDate: moment({ y: 1900 }),
endDate: moment().add(200, "y"),
calendarWeeks: true,
@@ -134,7 +134,7 @@ ListView.include({
}
});
// Dropdown list cho phep chon nhieu
// Dropdown list
_.each(this.ts_context, function(item){
var field = _.find(self.columns, function(column){
return column.type == 'many2one' && column.relation && column.name === item.name;
@@ -213,7 +213,7 @@ ListView.include({
// }
// }
});
// todo: 时区处理
if (self.$search_button) {
var start_date = self.$search_button.find('.app_start_date').val(),
end_date = self.$search_button.find('.app_end_date').val(),