parent
2f48862f07
commit
14d481451e
@ -1,92 +0,0 @@ |
||||
<?php |
||||
use \common\libs\MyLib; |
||||
?> |
||||
<?php $this->beginBlock('header_css'); ?> |
||||
<?php $this->endBlock(); ?> |
||||
|
||||
<div class="wrapper wrapper-content animated fadeInRight"> |
||||
<div class="ibox float-e-margins"> |
||||
<div class="ibox-content"> |
||||
<form role="form" class="form-horizontal" id="searchFrm" onsubmit="return search();"> |
||||
<div class="form-group"> |
||||
<label class="control-label col-sm-1">车牌</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="car_no" name="car_no" class="form-control"> |
||||
</div> |
||||
<label class="control-label col-sm-1">车主</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="car_man" name="car_man" class="form-control"> |
||||
</div> |
||||
<label class="control-label col-sm-1">联系电话</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="phone" name="phone" class="form-control"> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<label class="control-label col-sm-1">出单日期</label> |
||||
<div class="col-sm-3"> |
||||
<div class="input-daterange input-group" id="datepicker"> |
||||
<input type="text" class="input-sm form-control" name="print_begin" value="" autocomplete="off" /> |
||||
<span class="input-group-addon">到</span> |
||||
<input type="text" class="input-sm form-control" name="print_end" value="" autocomplete="off" /> |
||||
</div> |
||||
</div> |
||||
<label class="control-label col-sm-1">保险日期</label> |
||||
<div class="col-sm-3"> |
||||
<div class="input-daterange input-group" id="datepicker"> |
||||
<input type="text" class="input-sm form-control" name="insurer1_begin" value="" autocomplete="off" /> |
||||
<span class="input-group-addon">到</span> |
||||
<input type="text" class="input-sm form-control" name="insurer1_end" value="" autocomplete="off" /> |
||||
</div> |
||||
</div> |
||||
<label class="control-label col-sm-1">保险公司</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="company" name="company" class="form-control"> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<label class="control-label col-sm-1">状态</label> |
||||
<div class="col-sm-3"> |
||||
<select name="status" class="form-control"> |
||||
<option value="0">全部</option> |
||||
<option value="1">未分配</option> |
||||
<option value="2">已分配</option> |
||||
</select> |
||||
</div> |
||||
<label class="control-label col-sm-1">业务员</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="username" name="username" class="form-control"> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<div class="col-sm-3 col-sm-offset-5"> |
||||
<button type="submit" class="btn btn-primary">搜索</button> |
||||
</div> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<?php $this->beginBlock('footer_js'); ?> |
||||
<script type="text/javascript" language="javascript"> |
||||
function search() { |
||||
var o = {}; |
||||
var params = $("#searchFrm").serializeArray(); |
||||
$.each(params, function(index) { |
||||
o[this['name']] = this['value']; |
||||
}); |
||||
parent.o = o; |
||||
parent.refreshList(); |
||||
layer_close(); |
||||
} |
||||
|
||||
$(function () { |
||||
$('.input-daterange').datepicker({ |
||||
keyboardNavigation: false, |
||||
forceParse: false, |
||||
autoclose: true |
||||
}); |
||||
}) |
||||
</script> |
||||
<?php $this->endBlock('footer_js'); ?> |
@ -1,84 +0,0 @@ |
||||
<?php |
||||
use \common\libs\MyLib; |
||||
?> |
||||
<?php $this->beginBlock('header_css'); ?> |
||||
<?php $this->endBlock(); ?> |
||||
|
||||
<div class="wrapper wrapper-content animated fadeInRight"> |
||||
<div class="ibox float-e-margins"> |
||||
<div class="ibox-content"> |
||||
<form role="form" class="form-horizontal" id="searchFrm" onsubmit="return search();"> |
||||
<div class="form-group"> |
||||
<label class="control-label col-sm-1">车牌</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="car_no" name="car_no" class="form-control"> |
||||
</div> |
||||
<label class="control-label col-sm-1">车主</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="car_man" name="car_man" class="form-control"> |
||||
</div> |
||||
<label class="control-label col-sm-1">联系电话</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="phone" name="phone" class="form-control"> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<label class="control-label col-sm-1">保险日期</label> |
||||
<div class="col-sm-3"> |
||||
<div class="input-daterange input-group" id="datepicker"> |
||||
<input type="text" class="input-sm form-control" name="insurer1_begin" value="" autocomplete="off" /> |
||||
<span class="input-group-addon">到</span> |
||||
<input type="text" class="input-sm form-control" name="insurer1_end" value="" autocomplete="off" /> |
||||
</div> |
||||
</div> |
||||
<label class="control-label col-sm-1">保险公司</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="company" name="company" class="form-control"> |
||||
</div> |
||||
<label class="control-label col-sm-1">状态</label> |
||||
<div class="col-sm-3"> |
||||
<select name="status" class="form-control"> |
||||
<option value="0">全部</option> |
||||
<option value="1">未分配</option> |
||||
<option value="2">已分配</option> |
||||
</select> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<label class="control-label col-sm-1">业务员</label> |
||||
<div class="col-sm-3"> |
||||
<input type="text" id="username" name="username" class="form-control"> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<div class="col-sm-3 col-sm-offset-5"> |
||||
<button type="submit" class="btn btn-primary">搜索</button> |
||||
</div> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<?php $this->beginBlock('footer_js'); ?> |
||||
<script type="text/javascript" language="javascript"> |
||||
function search() { |
||||
var o = {}; |
||||
var params = $("#searchFrm").serializeArray(); |
||||
$.each(params, function(index) { |
||||
o[this['name']] = this['value']; |
||||
}); |
||||
parent.o = o; |
||||
parent.refreshList(); |
||||
layer_close(); |
||||
} |
||||
|
||||
$(function () { |
||||
$('.input-daterange').datepicker({ |
||||
keyboardNavigation: false, |
||||
forceParse: false, |
||||
autoclose: true |
||||
}); |
||||
}) |
||||
</script> |
||||
<?php $this->endBlock('footer_js'); ?> |
Loading…
Reference in new issue