提交 20d26263 authored 作者: chengye's avatar chengye

添加结算状态搜索条件

上级 c28d7ee0
...@@ -67,22 +67,10 @@ class Settle extends Base ...@@ -67,22 +67,10 @@ class Settle extends Base
//结算状态 //结算状态
if($settle_status != 5){ if($settle_status != 5){
switch ($settle_status) {
case '0':
$map[]=['settle.status','=',"$settle_status"]; $map[]=['settle.status','=',"$settle_status"];
$this->assign('settle_status',$settle_status); $this->assign('settle_status',$settle_status);
break;
case '1':
$map[]=['settle.status','=',"$settle_status"];
$this->assign('settle_status',$settle_status);
break;
case '4':
$map[]=['settle.status','=',"$settle_status"];
$this->assign('settle_status',$settle_status);
break;
}
}else{ }else{
$this->assign('settle_status','5'); $this->assign('settle_status',5);
} }
//区域 //区域
$area_id = Request::get('area_id'); $area_id = Request::get('area_id');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论