Commit 921869d1 by mushishixian

筛选

parent 7a2f9d2f
...@@ -26,8 +26,8 @@ class SupplierAccountFilter ...@@ -26,8 +26,8 @@ class SupplierAccountFilter
$query->where('supplier_code', 'like', "%${map['supplier_code']}%"); $query->where('supplier_code', 'like', "%${map['supplier_code']}%");
} }
if ((isset($map['status']) && $map['status'] === '0') || !empty($map['status'])) { if ((isset($map['a_status']) && $map['a_status'] === '0') || !empty($map['a_status'])) {
$query->where('status', $map['status']); $query->where('a_status', $map['a_status']);
} }
if (!empty($map['mobile'])) { if (!empty($map['mobile'])) {
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="layui-inline"> <div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter') @inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('status/condition','账号状态',request()->get('status'),[0=>'禁用',1=>'启用']) !!} {!! $statusPresenter->render('a_status','账号状态',request()->get('status'),[0=>'禁用',1=>'启用']) !!}
</div> </div>
</div> </div>
<div class="layui-row"> <div class="layui-row">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment