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
7767996a
authored
Jan 19, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into ysx-上架设置有效期需要校验供应商规则-20260116
parents
8af51955
99086e91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
app/Http/Services/SupplierContactService.php
app/Model/IntracodeModel.php
app/Http/Services/SupplierContactService.php
View file @
7767996a
...
...
@@ -230,7 +230,7 @@ class SupplierContactService
if
(
!
$departmentId
)
{
return
false
;
}
// 校验部门ID
是否为113
return
in_array
(
$departmentId
,
[
151
,
150
]);
// 校验部门ID
return
in_array
(
$departmentId
,
[
151
,
150
,
113
,
137
]);
}
}
app/Model/IntracodeModel.php
View file @
7767996a
...
...
@@ -128,6 +128,8 @@ class IntracodeModel extends Model
$usersOperation
=
$departmentService
->
getUserByDepartmentId
(
9
);
//采购部
$userChannel
=
$departmentService
->
getUserByDepartmentId
(
8
);
$userChannel2
=
$departmentService
->
getUserByDepartmentId
(
113
);
$userChannel
=
array_merge
(
$userChannel
,
$userChannel2
);
$users
=
array_merge
(
array_merge
(
$usersMarket
,
$usersOperation
),
$userChannel
);
$userIds
=
array_column
(
$users
,
'userId'
);
$users
=
$this
->
getEncodeByUserIds
(
$userIds
,
$includeResign
);
...
...
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