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
a107e2c9
authored
Jul 24, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
罗盘精简
parent
a2034803
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
66 deletions
app/Http/Services/SupplierStatisticsService.php
config/fixed.php
resources/views/script/SupplierListScript.blade.php
resources/views/web/supplier/SupplierListFilter.blade.php
vendor/_laravel_idea/_ide_helper_facades.php
app/Http/Services/SupplierStatisticsService.php
View file @
a107e2c9
...
...
@@ -20,40 +20,40 @@ class SupplierStatisticsService
return
$result
;
}
$total
=
$this
->
getStatisticsCount
(
'all'
);
//待复审
$needReview
=
$this
->
getStatisticsCount
(
'need_review'
);
//待提审
$pending
=
$this
->
getStatisticsCount
(
'pending'
);
//审核中
$inReview
=
$this
->
getStatisticsCount
(
'in_review'
);
//通过
$passed
=
$this
->
getStatisticsCount
(
'passed'
);
//未通过
$rejected
=
$this
->
getStatisticsCount
(
'rejected'
);
//禁用
$disable
=
$this
->
getStatisticsCount
(
'disable'
);
//没有渠道开发员
$noPurchaseUid
=
$this
->
getStatisticsCount
(
'no_purchase_uid'
);
//没有采购
$noChannelUid
=
$this
->
getStatisticsCount
(
'no_channel_uid'
);
//存在无效(离职)采购员
$invalidChannelUid
=
$this
->
getStatisticsCount
(
'invalid_channel_uid'
);
//存在无效(离职)开发员
$invalidPurchaseUid
=
$this
->
getStatisticsCount
(
'invalid_purchase_uid'
);
//需要跟进的
$toFollowUp
=
$this
->
getStatisticsCount
(
'to_follow_up'
);
//没有sku的
$noSku
=
$this
->
getStatisticsCount
(
'no_sku'
);
//
//待复审
//
$needReview = $this->getStatisticsCount('need_review');
//
//待提审
//
$pending = $this->getStatisticsCount('pending');
//
//审核中
//
$inReview = $this->getStatisticsCount('in_review');
//
//通过
//
$passed = $this->getStatisticsCount('passed');
//
//未通过
//
$rejected = $this->getStatisticsCount('rejected');
//
//禁用
//
$disable = $this->getStatisticsCount('disable');
//
//没有渠道开发员
//
$noPurchaseUid = $this->getStatisticsCount('no_purchase_uid');
//
//没有采购
//
$noChannelUid = $this->getStatisticsCount('no_channel_uid');
//
//存在无效(离职)采购员
//
$invalidChannelUid = $this->getStatisticsCount('invalid_channel_uid');
//
//存在无效(离职)开发员
//
$invalidPurchaseUid = $this->getStatisticsCount('invalid_purchase_uid');
//
//需要跟进的
//
$toFollowUp = $this->getStatisticsCount('to_follow_up');
//
//没有sku的
//
$noSku = $this->getStatisticsCount('no_sku');
//拉黑的
$block
=
$this
->
getStatisticsCount
(
'block'
);
//没有品牌协议附件的
$noQualityAssuranceAgreement
=
$this
->
getStatisticsCount
(
'no_quality_assurance_agreement'
);
//有标签的(客户指定供应商)
$hasTagSupplier
=
$this
->
getStatisticsCount
(
'has_supplier_tag'
);
//联系人未完善
$concatNoComplete
=
$this
->
getStatisticsCount
(
'contact_no_complete'
);
//历史检测异常
$historyAbnormal
=
$this
->
getStatisticsCount
(
'history_abnormal'
);
//
//没有品牌协议附件的
//
$noQualityAssuranceAgreement = $this->getStatisticsCount('no_quality_assurance_agreement');
//
//有标签的(客户指定供应商)
//
$hasTagSupplier = $this->getStatisticsCount('has_supplier_tag');
//
//联系人未完善
//
$concatNoComplete = $this->getStatisticsCount('contact_no_complete');
//
//历史检测异常
//
$historyAbnormal = $this->getStatisticsCount('history_abnormal');
//战略供应商(等级为A)
$payTypeTerm
=
$this
->
getStatisticsCount
(
'pay_type_term'
);
//账期供应商
...
...
@@ -62,23 +62,23 @@ class SupplierStatisticsService
//缺少品质协议(线上)
$result
=
[
'total'
=>
$total
,
'need_review'
=>
$needReview
,
'pending'
=>
$pending
,
'in_review'
=>
$inReview
,
'passed'
=>
$passed
,
'rejected'
=>
$rejected
,
'disable'
=>
$disable
,
//
'need_review' => $needReview,
//
'pending' => $pending,
//
'in_review' => $inReview,
//
'passed' => $passed,
//
'rejected' => $rejected,
//
'disable' => $disable,
'block'
=>
$block
,
'no_purchase_uid'
=>
$noPurchaseUid
,
'no_channel_uid'
=>
$noChannelUid
,
'invalid_channel_uid'
=>
$invalidChannelUid
,
'invalid_purchase_uid'
=>
$invalidPurchaseUid
,
'to_follow_up'
=>
$toFollowUp
,
'no_sku'
=>
$noSku
,
'no_quality_assurance_agreement'
=>
$noQualityAssuranceAgreement
,
'has_supplier_tag'
=>
$hasTagSupplier
,
'contact_no_complete'
=>
$concatNoComplete
,
'history_abnormal'
=>
$historyAbnormal
,
//
'no_purchase_uid' => $noPurchaseUid,
//
'no_channel_uid' => $noChannelUid,
//
'invalid_channel_uid' => $invalidChannelUid,
//
'invalid_purchase_uid' => $invalidPurchaseUid,
//
'to_follow_up' => $toFollowUp,
//
'no_sku' => $noSku,
//
'no_quality_assurance_agreement' => $noQualityAssuranceAgreement,
//
'has_supplier_tag' => $hasTagSupplier,
//
'contact_no_complete' => $concatNoComplete,
//
'history_abnormal' => $historyAbnormal,
'pay_type_term'
=>
$payTypeTerm
,
'level_a'
=>
$levelA
,
//所有采购员离职
...
...
config/fixed.php
View file @
a107e2c9
...
...
@@ -219,24 +219,24 @@ return [
//罗盘菜单对应id
'CompassMenuMap'
=>
[
'total'
=>
'全部'
,
'pending'
=>
'待提审'
,
'need_review'
=>
'待复审'
,
'in_review'
=>
'审核中'
,
'draft'
=>
'草稿'
,
'passed'
=>
'已通过'
,
'rejected'
=>
'未通过'
,
// 'pending' => '待提审',
// 'need_review' => '待复审',
// 'in_review' => '审核中',
// 'draft' => '草稿',
// 'passed' => '已通过',
// 'rejected' => '未通过',
// 'disable' => '禁止交易',
// 'no_purchase_uid' => '渠道未分配',
// 'no_channel_uid' => '采购未分配',
// 'invalid_channel_uid' => '无效采购员',
// 'invalid_purchase_uid' => '无效渠道员',
// 'contact_no_complete' => '联系人不完善',
// 'to_follow_up' => '待跟进',
// 'no_sku' => '无sku',
// 'no_quality_assurance_agreement' => '无品质协议',
// 'has_supplier_tag' => '客户指定供应商',
// 'history_abnormal' => '历史检测异常',
'block'
=>
'黑名单'
,
'disable'
=>
'禁止交易'
,
'no_purchase_uid'
=>
'渠道未分配'
,
'no_channel_uid'
=>
'采购未分配'
,
'invalid_channel_uid'
=>
'无效采购员'
,
'invalid_purchase_uid'
=>
'无效渠道员'
,
'contact_no_complete'
=>
'联系人不完善'
,
'to_follow_up'
=>
'待跟进'
,
'no_sku'
=>
'无sku'
,
'no_quality_assurance_agreement'
=>
'无品质协议'
,
'has_supplier_tag'
=>
'客户指定供应商'
,
'history_abnormal'
=>
'历史检测异常'
,
'level_a'
=>
'战略供应商'
,
'pay_type_term'
=>
'账期供应商'
,
'all_channel_user_resigned'
=>
'采购员全离职'
,
...
...
resources/views/script/SupplierListScript.blade.php
View file @
a107e2c9
...
...
@@ -3,7 +3,8 @@
let
$
=
layui
.
jquery
;
let
Split
=
layui
.
Split
;
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
Split
([
'#s1'
,
'#s2'
,
'#s3'
,
'#s4'
,
'#s5'
,
'#s6'
,
'#s7'
,
'#s8'
],
{
sizes
:
[
9
,
12
,
12
,
12
,
12
,
12
,
12
,
19
],
minSize
:
70
});
Split
([
'#s1'
,
'#s6'
,
'#s7'
,
'#s8'
],
{
sizes
:
[
9
,
12
,
12
,
12
],
minSize
:
70
});
// Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6', '#s7','#s8'], {sizes: [9, 12, 12, 12, 12, 12, 12,19], minSize: 70});
let
table
=
layui
.
table
;
let
form
=
layui
.
form
;
let
index
=
layui
.
index
;
...
...
resources/views/web/supplier/SupplierListFilter.blade.php
View file @
a107e2c9
This diff is collapsed.
Click to expand it.
vendor/_laravel_idea/_ide_helper_facades.php
View file @
a107e2c9
This diff is collapsed.
Click to expand it.
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