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
40300e2f
authored
Apr 07, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
0.5版本
parent
6b790653
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletions
app/Http/Controllers/Filter/SupplierFilter.php
app/Http/Services/SupplierStatisticsService.php
config/fixed.php
resources/views/web/supplier/SupplierListCommon.blade.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
40300e2f
...
...
@@ -276,6 +276,8 @@ class SupplierFilter
->
orWhere
(
'supplier_telephone'
,
''
);
})
->
groupBy
(
'supplier_channel.supplier_id'
);
break
;
case
"history_abnormal"
:
$query
->
where
(
'system_tags'
,
'like'
,
'%历史检测异常%'
);
}
return
$query
;
}
...
...
app/Http/Services/SupplierStatisticsService.php
View file @
40300e2f
...
...
@@ -52,7 +52,8 @@ class SupplierStatisticsService
$hasTagSupplier
=
$this
->
getStatisticsCount
(
'has_supplier_tag'
);
//联系人未完善
$concatNoComplete
=
$this
->
getStatisticsCount
(
'contact_no_complete'
);
//历史检测异常
$historyAbnormal
=
$this
->
getStatisticsCount
(
'history_abnormal'
);
$result
=
[
'total'
=>
$total
,
'need_review'
=>
$needReview
,
...
...
config/fixed.php
View file @
40300e2f
...
...
@@ -237,6 +237,7 @@ return [
'to_follow_up'
=>
'待跟进'
,
'no_sku'
=>
'无sku'
,
'no_quality_assurance_agreement'
=>
'无品质协议'
,
'history_abnormal'
=>
'历史检测异常'
,
'has_supplier_tag'
=>
'客户指定供应商'
,
],
//Sku列表的罗盘对应菜单id
...
...
resources/views/web/supplier/SupplierListCommon.blade.php
View file @
40300e2f
...
...
@@ -117,6 +117,10 @@
<a
class=
"main_filter"
title=
"系统标签中贴有客户指定的供应商"
id=
"has_supplier_tag"
>
</a>
</div>
<div
class=
"layui-row"
>
<a
class=
"main_filter"
title=
"历史检测异常"
id=
"history_abnormal"
>
</a>
</div>
</div>
<div
class=
"split-item"
id=
"s6"
>
</div>
...
...
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