|  | @@ -212,3 +212,23 @@ function checkValidForm() {
 | 
												
													
														
															|  |      $('#hide-all').show();
 |  |      $('#hide-all').show();
 | 
												
													
														
															|  |      return true;
 |  |      return true;
 | 
												
													
														
															|  |  }
 |  |  }
 | 
												
													
														
															|  | 
 |  | +$(window).resize(checkTableWidth);
 | 
												
													
														
															|  | 
 |  | +function checkTableWidth() {
 | 
												
													
														
															|  | 
 |  | +    if($('table th').eq(2).outerWidth() < 107) {
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(2).html('本期<br>合同计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(3).html('本期数量<br>变更计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(4).html('本期<br>完成计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(5).html('截止上期<br>完成计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(6).html('截止本期<br>完成计量');
 | 
												
													
														
															|  | 
 |  | +    } else {
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(2).html('本期合同计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(3).html('本期数量变更计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(4).html('本期完成计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(5).html('截止上期完成计量');
 | 
												
													
														
															|  | 
 |  | +        $('table th').eq(6).html('截止本期完成计量');
 | 
												
													
														
															|  | 
 |  | +    }
 | 
												
													
														
															|  | 
 |  | +}
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +$(function () {
 | 
												
													
														
															|  | 
 |  | +    checkTableWidth();
 | 
												
													
														
															|  | 
 |  | +});
 |