汽车新闻市场报告
洞察中心报告引擎
请选择上面的过滤器

可能的浏览器不兼容。

我们的新数据中心最适用于Chrome,Firefox或大多数Internet Explorer。如果您看到此消息,则会使用已知已知有显示问题的Internet Explorer版本。

如果您在本网站上遇到显示问题,请使用备用浏览器,或升级您的Internet Explorer版本。



继续当前的浏览器
'); printWindow.document.write(''); printWindow.document.write(' '); $(printWindow).load(function() { $(printWindow.document).find('body').html(data); }); printWindow.document.close(); printWindow.focus(); printWindow.print(); printWindow.close(); return true; } (function($){ if( /msie 10.0/i.test(navigator.userAgent) ) { $('.schmodal').schmodal({ width : 640, action : 'load', screen_min : 768, bg_close : true }); } $('#customDate').on('change',function(){ getCustomGroupFilter(); if($(this).attr('checked') == 'checked'){ $('#data-filter-year').css('display','none'); $('.customDateRegionParent').css('display','block'); }else{ $('#data-filter-year').css('display',''); $('.customDateRegionParent').css('display','none'); } }); $('#data-filter-report').on('change','select',function(){ if($('#customDate').attr('checked')=='checked'){ $('.customDateRegion').children().each(function (idx, ele) { if($(ele).attr('id') =="datepickerFrom" || $(ele).attr('id') == "datepickerTo"){ }else{ if($(ele).css('display') == 'none'){ $(ele).toggle(); } } }); var $text = $('#data-filter-report a span').text(); switch($text){ case 'Market Share': case 'Date Range': case 'Winners/Losers': break; case 'Monthly/Annual History': case 'Yearly/Annual History': $('.customDateRegion').children().each(function (idx, ele) { if($(ele).attr('id') =="datepickerFrom" || $(ele).attr('id') == "datepickerTo"){ }else{ if($(ele).css('display') != 'none'){ $(ele).toggle(); } } }); break; } } }); $.fn.changeDateValid = function(options){ var that = this, settings = $.extend({ defaultVals:{ from: 'From:', to: 'To:' }, errorClass: 'error', id: 'customDate', parentClass: 'customDateRegion', defaultIds: { from: 'datepickerFrom', to: 'datepickerTo' }, errorText: { from: 'Please select a validated Date from', to: 'Please select a validated Date to', compare: 'Date From must less than Date To' } },options); this.removeError = function(){ console.log("delete error"); if($('.'+settings['parentClass']).children('.'+settings['errorClass']).html()!=null || $('.'+settings['parentClass']).children('.'+settings['errorClass']).html() != undefined){ $('.'+settings['parentClass']).children('.'+settings['errorClass']).remove(); } }; this.addError = function(opt){ console.log(''); $('').appendTo($('.'+settings['parentClass'])); }; this.checkDateValidation = function(options){ var opts = options? options : ''; if($('#'+settings['id']).attr('checked')=='checked' && $('#'+settings['defaultIds']['from']).html() != undefined && $('#'+settings['defaultIds']['to']).html() != undefined){ this.removeError(); if($('#'+settings['defaultIds']['from']).val()==settings['defaultVals']['from']){ this.addError('from'); }else if($('#'+settings['defaultIds']['to']).val() == settings['defaultVals']['to']){ this.addError('to'); }else if(new Date($('#'+settings['defaultIds']['from']).val())>= new Date($('#'+settings['defaultIds']['to']).val())){ this.addError('compare'); } if($('.'+settings['parentClass']).children('.'+settings['errorClass']).html()!=null || $('.'+settings['parentClass']).children('.'+settings['errorClass']).html() != undefined){ return false; } }else{ return true; } }; $('#data-filter form').on('submit',function(event){ if(that.checkDateValidation() == false){ event.preventDefault(); } }); } $('#customDate').changeDateValid(); $('#customDate').changeDateValid({ defaultIds: { from: 'datepickerFrom2', to: 'datepickerTo2' }, parentClass: 'customDateRegionParent', }); $('body').on('click','.print',function(){ //Popup($('#content').html()); alert("Please set your browser printer properties to Landscape Orientation to get all data print out."); print(); }); })(jQuery);