提交 ce91d88e authored 作者: chengye's avatar chengye

添加结算状态搜索条件

上级 d5dd840d
......@@ -66,11 +66,11 @@ class Settle extends Base
}
//结算状态
if($settle_status != 5){
if($settle_status !== ''){
$map[]=['settle.status','=',"$settle_status"];
$this->assign('settle_status',$settle_status);
}else{
$this->assign('settle_status',5);
$this->assign('settle_status','');
}
//区域
$area_id = Request::get('area_id');
......
......@@ -26,7 +26,7 @@
</div>
<div class="layui-input-inline" style="width:150px;">
<select name="settle_status" id="settle_status">
<option value="5" selected="selected" {if $settle_status == 5 } selected {/if}>结算状态</option>
<option value="" selected="selected" {if $settle_status === '' } selected {/if}>结算状态</option>
<option value="0" {if $settle_status == 0 } selected {/if}>未结算</option>
<option value="1" {if $settle_status == 1 } selected {/if}>已结算</option>
<option value="4" {if $settle_status == 4 } selected {/if}>已审核</option>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论