Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
921869d1
authored
May 25, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
筛选
parent
7a2f9d2f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Http/Controllers/Filter/SupplierAccountFilter.php
resources/views/web/SupplierAccountList.blade.php
app/Http/Controllers/Filter/SupplierAccountFilter.php
View file @
921869d1
...
...
@@ -26,8 +26,8 @@ class SupplierAccountFilter
$query
->
where
(
'supplier_code'
,
'like'
,
"%${map['supplier_code']}%"
);
}
if
((
isset
(
$map
[
'
status'
])
&&
$map
[
'status'
]
===
'0'
)
||
!
empty
(
$map
[
'
status'
]))
{
$query
->
where
(
'
status'
,
$map
[
'
status'
]);
if
((
isset
(
$map
[
'
a_status'
])
&&
$map
[
'a_status'
]
===
'0'
)
||
!
empty
(
$map
[
'a_
status'
]))
{
$query
->
where
(
'
a_status'
,
$map
[
'a_
status'
]);
}
if
(
!
empty
(
$map
[
'mobile'
]))
{
...
...
resources/views/web/SupplierAccountList.blade.php
View file @
921869d1
...
...
@@ -21,7 +21,7 @@
<div
class=
"layui-inline"
>
@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
class=
"layui-row"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment