<?php if(!empty($modelArr)){?>
<table class="layui-table table table-bordered mart10 ajaxM3list YpTable" yptablebody="#m3tbody">
	<colgroup>
		<col width="30">
		<col width="90">
		<col width="110">
		<col width="140">
		<col width="110">
		<col width="80">
		<col width="80">
		<col width="70">
		<col width="70">
		<col width="80">
		<col width="70">
		<col width="70">
		<col width="70">
		<col width="70">
	</colgroup>
	<thead>
		<tr class="Filter Sortable">
			<th><input type="checkbox" onclick="INPUT.checkAll(this, 'model[]')"/></th>
			<th class="Sort"><span>品牌</span></th>
			<th class="Sort"><span>生产商</span></th>
			<th class="Sort"><span>车型系列</span></th>
			<th class="Sort"><span>车型</span></th>
			<th class="Sort"><span>年份</span></th>
			<th class="Sort"><span>发动机</span></th>
			<th class="Sort"><span>排量</span></th>
			<th class="Sort"><span>变速器</span></th>
			<th class="Sort"><span>燃料</span></th>
			<th class="Sort"><span>车身形式</span></th>
			<th class="Sort"><span>后制动器</span></th>
			<th class="Sort"><span>驻车制动</span></th>
			<th class="Sort"><span>驱动方式</span></th>
		</tr>
		<tr class="filter-txt">
			<td width="30"></td>
			<td width="90"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="110"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="140"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="110"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="80"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="80"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="70"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="70"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="80"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="70"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="70"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="70"><input type="text" class="layui-input form-control FilterTxt"/></td>
			<td width="70"><input type="text" class="layui-input form-control FilterTxt"/></td>
		</tr>
	</thead>
</table>
<div id="ajaxM3listBox">
	<table class="layui-table table table-bordered marb10 ajaxM3list">
		<colgroup>
			<col width="30">
			<col width="90">
			<col width="110">
			<col width="140">
			<col width="110">
			<col width="80">
			<col width="80">
			<col width="70">
			<col width="70">
			<col width="80">
			<col width="70">
			<col width="70">
			<col width="70">
			<col width="70">
		</colgroup>
		<tbody id="m3tbody">
		<?php foreach($modelArr as $v){?>
		<tr>
			<td><input type="checkbox" name="model[]" value="<?php echo $v['mod3_id'];?>"></td>
			<td><?php echo $v['brand_name'];?></td>
			<td><?php echo $v['make_name'];?></td>
			<td><?php echo $v['mod2_name'];?></td>
			<td><?php echo $v['mod3_name'];?></td>
			<td><?php echo LibFc::formatViewYear($v['mod3_start_year'], $v['mod3_end_year'], 2);?></td>
			<td><?php echo $v['mod3_engine'];?></td>
			<td><?php echo $v['mod3_cc'];?></td>
			<td><?php echo $v['mod3_transmission'];?></td>
			<td><?php echo $v['mod3_fuel'];?></td>
			<td><?php echo $v['mod3_body'];?></td>
			<td><?php echo $v['mod3_rear_brake'];?></td>
			<td><?php echo $v['mod3_parking_brake'];?></td>
			<td><?php echo $v['mod3_drive'];?></td>
		</tr>
		<?php }?>
	</tbody>
</table>
<?php }else{?>
<div class="alert alert-warning" role="alert">匹配不到对应的车型信息</div>
<?php }?>