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
5c6ffcbf
authored
Jun 02, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
上传筛选
parent
c0ab3ef7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
app/Http/Controllers/Filter/SupplierFilter.php
config/field.php
resources/views/web/supplier/SupplierListCommon.blade.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
5c6ffcbf
...
...
@@ -84,6 +84,10 @@ class SupplierFilter
$query
->
where
(
'sku_tag'
,
$map
[
'sku_tag'
]);
}
if
(
!
empty
(
$map
[
'outside_contact_type'
]))
{
$query
->
where
(
'outside_contact_type'
,
$map
[
'outside_contact_type'
]);
}
if
(
!
empty
(
$map
[
'sku_mode'
]))
{
$query
->
where
(
'sku_mode'
,
$map
[
'sku_mode'
]);
}
...
...
config/field.php
View file @
5c6ffcbf
...
...
@@ -126,5 +126,10 @@ return [
'ApplyAuditReason'
=>
[
'拒签'
=>
'拒签'
,
'候补'
=>
'候补'
],
'OutsideContactType'
=>
[
1
=>
'人工上传'
,
2
=>
'API对接'
,
3
=>
'云芯上传'
]
];
\ No newline at end of file
resources/views/web/supplier/SupplierListCommon.blade.php
View file @
5c6ffcbf
...
...
@@ -167,8 +167,8 @@
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作'],
['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode')]) !!}
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作'
,'outside_contact_type' => 'SKU上传方式'
],
['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode')
,'outside_contact_type'=>config('field.OutsideContactType')
]) !!}
</div>
{{-- @if(checkPerm('ViewFakeSupplier'))--}}
<div
class=
"layui-inline"
>
...
...
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