<?php include_once(mvc::$cfg['PATH_TPL'].'public/headBase.php');?>
<style>.layui-layer-shade{left:290px;}</style>
<div class="left-search">
	<div class="left-content">
		<form class="layui-form" action="<?php echo mvc::$cfg['SELF_URI'];?>super/othItemList" method="get" target="ListFrame" style="margin-bottom:5px;">
			<div class="txt-btn-group">
				<input type="text" name="number" placeholder="请输入号码" class="layui-input">
				<button class="layui-btn" lay-submit>查号码</button>
			</div>
		</form>
		<?php if(!empty($supParaPartArr)){?>
		<form class="layui-form" action="<?php echo mvc::$cfg['SELF_URI'];?>super/othItemList" id="SearchForm" method="get" target="ListFrame">
			<table class="layui-table layui-table-search">
			  <colgroup>
				<col width="62">
			  </colgroup>
			  <thead>
				<tr>
					<th colspan="3" style="text-align:center;padding:6px" id="parts-sel">
						<?php foreach($supParaPartArr as $k=>$v){?>
						<input type="radio" name="partid" lay-filter="partpara" value="<?php echo $v['id'];?>" title="<?php echo $v['name'];?>" <?php if($k== 0 || $Params['partid'] == $v['id']) echo ' checked';?>>
						<?php }?>
					</th>
				</tr>
			  </thead>
			  <tbody id="para-body">
			  </tbody>
			  <tfoot>
			  	<tr>
				  <th>数值误差</th>
				  <td colspan="2">
					<input type="radio" name="wc" value="0" title="精准">
					<input type="radio" name="wc" value="5" title="5%">
					<input type="radio" name="wc" value="10" title="10%" checked>
					<input type="radio" name="wc" value="15" title="15%">
				  </td>
				</tr>
				<tr>
				  <td colspan="3" class="center">
					<button class="layui-btn layui-btn-sm" lay-submit>参数查询</button>
				  </td>
				</tr>
			  </tfoot>
			</table>
		</form>
		<?php }?>
	</div>
</div>
<div class="right-search">
	<iframe id="ListFrame" name="ListFrame" frameborder="0" width="100%"></iframe>
</div>
<?php include_once(mvc::$cfg['PATH_TPL'].'public/footBase.php');?>
<script type="text/javascript" src="<?php echo mvc::$cfg['SELF_URL'];?>static/Sortable/Sortable.min.js?ver=1.0.0"></script>
<script type="text/javascript">
$(document).ready(function(){
	PARASEARCH.initEvent();
});
</script>