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
b5e29e55
authored
Jun 06, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
品质协议
parent
2c4240e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
app/Http/Controllers/Filter/SupplierFilter.php
resources/views/web/supplier/SupplierListFilter.blade.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
b5e29e55
...
...
@@ -305,13 +305,13 @@ class SupplierFilter
});
break
;
//附件里面缺少品质协议的,而且是现货类型供应商
case
"no_quality_assurance_agreement"
:
$query
->
whereDoesntHave
(
'attachment'
,
function
(
$query
)
{
$query
->
whereNotIn
(
'status'
,
[
SupplierChannelModel
::
STATUS_DISABLE
,
SupplierChannelModel
::
STATUS_BLOCK
])
->
where
(
'field_name'
,
'quality_assurance_agreement'
);
})
->
where
(
'supplier_group'
,
2
);
break
;
//
case "no_quality_assurance_agreement":
//
$query->whereDoesntHave('attachment', function ($query) {
//
$query->whereNotIn('status',
//
[SupplierChannelModel::STATUS_DISABLE, SupplierChannelModel::STATUS_BLOCK])
//
->where('field_name', 'quality_assurance_agreement');
//
})->where('supplier_group', 2);
//
break;
//联系人待完善
case
"contact_no_complete"
:
$query
->
rightjoin
(
'supplier_contact'
,
'supplier_channel.supplier_id'
,
'='
,
...
...
resources/views/web/supplier/SupplierListFilter.blade.php
View file @
b5e29e55
...
...
@@ -92,11 +92,11 @@
</a>
</div>
@endif
<div
class=
"layui-row"
>
<a
title=
"公司性质为现货商性质的供应商没有上传品质协议"
class=
"main_filter"
id=
"no_quality_assurance_agreement"
>
</a>
</div>
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"公司性质为现货商性质的供应商没有上传品质协议"
class=
"main_filter"
--
}}
{{
--
id=
"no_quality_assurance_agreement"
>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
<div
class=
"layui-row"
>
<a
title=
"采购员全离职"
class=
"main_filter"
id=
"all_channel_user_resigned"
>
</a>
...
...
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