固定表頭,左右滑動條
<div style="width:100%; height:350px; overflow-x:scroll;overflow-y:auto;">
<table class="table table-bordered" border="1" rules="all" style="width:100%; height:200px; text-align:center; table-layout: fixed;word-break: break-all; word-wrap: break-word;">
<tr>
<th style="width:150px;color: white;background: #4F81BD;">版本編碼</th>
<th style="width:150px;color: white;background: #4F81BD;">本次預測時間</th>
<th style="width:150px;color: white;background: #4F81BD;">預測月份</th>
<th style="width:150px;color: white;background: #4F81BD;">工作天數</th>
<th style="width:150px;color: white;background: #4F81BD;">高溫津貼</th>
<th style="width:150px;color: white;background: #4F81BD;">部門</th>
<th style="width:150px;color: white;background: #4F81BD;">課別</th>
<th style="width:150px;color: white;background: #4F81BD;">系別</th>
<th style="width:150px;color: white;background: #4F81BD;">工程屬性</th>
<th style="width:150px;color: white;background: #4F81BD;">車間代碼</th>
<th style="width:150px;color: white;background: #4F81BD;">預測類別</th>
<th style="width:150px;color: white;background: #4F81BD;">生產臺數(制管計算) </th>
<th style="width:150px;color: white;background: #4F81BD;">生產產值(千元) </th>
<th style="width:150px;color: white;background: #4F81BD;">PSI版本 </th>
<th style="width:150px;color: white;background: #4F81BD;">班次</th>
<th style="width:150px;color: white;background: #4F81BD;">編制人員數量</th>
<th style="width:150px;color: white;background: #4F81BD;">人均加班1.5倍工時數 </th>
<th style="width:150px;color: white;background: #4F81BD;">人均加班2倍工時數 </th>
<th style="width:150px;color: white;background: #4F81BD;">出勤率(%) </th>
<th style="width:150px;color: white;background: #4F81BD;">跨月調假(H)(調入+,調出-)</th>
<th style="width:150px;color: white;background: #4F81BD;">中間入職或離職無出勤扣減(H) </th>
<th style="width:150px;color: white;background: #4F81BD;">借入借出(H)(借入+,借出-)</th>
<th style="width:150px;color: white;background: #4F81BD;">合理化前工時(H) </th>
<th style="width:150px;color: white;background: #4F81BD;">合理化後工時(H) </th>
<th style="width:150px;color: white;background: #4F81BD;">基本工資(千元) </th>
<th style="width:150px;color: white;background: #4F81BD;">加班費(千元) </th>
<th style="width:150px;color: white;background: #4F81BD;">社保、福利費(千元) </th>
<th style="width:150px;color: white;background: #4F81BD;">合理化前_BP RATE</th>
<th style="width:150px;color: white;background: #4F81BD;">規定內損失時間(H)</th>
<th style="width:150px;color: white;background: #4F81BD;">理論出勤計算比率(%) </th>
<th style="width:150px;color: white;background: #4F81BD;">創建時間</th>
</tr>
<tbody id="tContain">
<!-- <tr>
<td>1</td>
<td>這是一篇標題很長的文章用來測試表格的測試標題</td>
<td>這是一篇標題很長的文章用來測試表格不被太多列擠得變形的描述...</td>
<td>管理員</td>
<td>3000</td>
<td>120.68</td>
<td>1200</td>
<td>測試啊測試test</td>
<td>123</td>
<td>20</td>
<td>17</td>
<td>5</td>
<td>2018-03-06 12:00:00</td>
<td>2018-03-07 15:00:00</td>
</tr> -->
</tbody>
</table>
</div>
固定表頭,左右滑動條