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
2231ac1c
authored
Aug 07, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
筛选
parent
adbf7650
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
203 additions
and
135 deletions
app/Http/Controllers/Filter/SupplierFilter.php
resources/views/script/SupplierListScript.blade.php
resources/views/web/supplier/SupplierListFilter.blade.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
2231ac1c
...
@@ -60,8 +60,8 @@ class SupplierFilter
...
@@ -60,8 +60,8 @@ class SupplierFilter
if
(
!
empty
(
$map
[
'purchase_uid'
]))
{
if
(
!
empty
(
$map
[
'purchase_uid'
]))
{
$query
->
where
(
'purchase_uid'
,
$map
[
'purchase_uid'
]);
$query
->
where
(
'purchase_uid'
,
$map
[
'purchase_uid'
]);
}
}
if
(
!
empty
(
$map
[
'uploaded_sku'
]))
{
if
(
!
empty
(
$map
[
'
has_
uploaded_sku'
]))
{
$query
->
where
(
'uploaded_sku'
,
$map
[
'uploaded_sku'
]);
$query
->
where
(
'uploaded_sku'
,
$map
[
'
has_
uploaded_sku'
]);
}
}
if
(
!
empty
(
$map
[
'channel_uid'
]))
{
if
(
!
empty
(
$map
[
'channel_uid'
]))
{
$query
->
where
(
'channel_uid'
,
'like'
,
"%
{
$map
[
'channel_uid'
]
}
%"
);
$query
->
where
(
'channel_uid'
,
'like'
,
"%
{
$map
[
'channel_uid'
]
}
%"
);
...
@@ -219,10 +219,10 @@ class SupplierFilter
...
@@ -219,10 +219,10 @@ class SupplierFilter
//是因为无论什么角色,都可以看到黑名单和禁用供应商
//是因为无论什么角色,都可以看到黑名单和禁用供应商
if
(
$subordinateCodeIds
)
{
if
(
$subordinateCodeIds
)
{
if
(
$canViewFakeSupplier
)
{
if
(
$canViewFakeSupplier
)
{
$query
->
whereRaw
(
DB
::
raw
(
"(create_uid in
$inUserIdSql
or purchase_uid in
$inCodeIdSql
$query
->
whereRaw
(
DB
::
raw
(
"(create_uid in
$inUserIdSql
or purchase_uid in
$inCodeIdSql
or channel_uid REGEXP '
$likeSqlRaw
' or is_type = 1 or (status = -3 or status = -2)) "
));
or channel_uid REGEXP '
$likeSqlRaw
' or is_type = 1 or (status = -3 or status = -2)) "
));
}
else
{
}
else
{
$query
->
whereRaw
(
DB
::
raw
(
"(create_uid in
$inUserIdSql
or purchase_uid in
$inCodeIdSql
$query
->
whereRaw
(
DB
::
raw
(
"(create_uid in
$inUserIdSql
or purchase_uid in
$inCodeIdSql
or channel_uid REGEXP '
$likeSqlRaw
' or (status = -3 or status = -2)) "
));
or channel_uid REGEXP '
$likeSqlRaw
' or (status = -3 or status = -2)) "
));
}
}
}
else
{
}
else
{
...
@@ -411,4 +411,4 @@ class SupplierFilter
...
@@ -411,4 +411,4 @@ class SupplierFilter
}
}
return
$query
;
return
$query
;
}
}
}
}
\ No newline at end of file
resources/views/script/SupplierListScript.blade.php
View file @
2231ac1c
...
@@ -62,6 +62,17 @@
...
@@ -62,6 +62,17 @@
$
(
'.hide_filter_type'
).
show
();
$
(
'.hide_filter_type'
).
show
();
});
});
$
(
'#show_filter_row2'
).
click
(
function
()
{
let
isHidden
=
$
(
'#filter_row2'
).
is
(
':hidden'
);
if
(
isHidden
)
{
$
(
'#filter_row2'
).
show
();
$
(
'#show_filter_row2'
).
text
(
'隐藏'
);
}
else
{
$
(
'#filter_row2'
).
hide
();
$
(
'#show_filter_row2'
).
text
(
'展开'
);
}
});
//这个是页面点击刷新方法,隐藏起来是为了页面切换回这个列表的时候触发的
//这个是页面点击刷新方法,隐藏起来是为了页面切换回这个列表的时候触发的
$
(
'#refreshWindow'
).
click
(
function
()
{
$
(
'#refreshWindow'
).
click
(
function
()
{
//判断当前是否有layui弹窗窗口,有的话不刷新
//判断当前是否有layui弹窗窗口,有的话不刷新
...
...
resources/views/web/supplier/SupplierListFilter.blade.php
View file @
2231ac1c
...
@@ -17,113 +17,113 @@
...
@@ -17,113 +17,113 @@
</div>
</div>
</div>
</div>
</div>
</div>
{{--
<div
class=
"split-item"
id=
"s2"
style=
"text-align: center"
>
--}}
{{--
<div
class=
"split-item"
id=
"s2"
style=
"text-align: center"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"need_review"
data-value=
"-1"
>
--}}
{{--
<a
class=
"main_filter"
id=
"need_review"
data-value=
"-1"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @if(checkPerm('SupplierPendingList'))--}}
{{-- @if(checkPerm('SupplierPendingList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"pending"
data-value=
"0"
>
--}}
{{--
<a
class=
"main_filter"
id=
"pending"
data-value=
"0"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierInReviewList'))--}}
{{-- @if(checkPerm('SupplierInReviewList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"in_review"
data-value=
"1"
>
--}}
{{--
<a
class=
"main_filter"
id=
"in_review"
data-value=
"1"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierRejectList'))--}}
{{-- @if(checkPerm('SupplierRejectList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"rejected"
data-value=
"3"
>
--}}
{{--
<a
class=
"main_filter"
id=
"rejected"
data-value=
"3"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierPassedList'))--}}
{{-- @if(checkPerm('SupplierPassedList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"passed"
data-value=
"2"
>
--}}
{{--
<a
class=
"main_filter"
id=
"passed"
data-value=
"2"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
<div
class=
"split-item"
id=
"s3"
style=
"text-align: center"
>
--}}
{{--
<div
class=
"split-item"
id=
"s3"
style=
"text-align: center"
>
--}}
{{-- @if(checkPerm('SupplierNoPurchaseUidList'))--}}
{{-- @if(checkPerm('SupplierNoPurchaseUidList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"非禁用状态的渠道开发员为空的供应商"
class=
"main_filter"
id=
"no_purchase_uid"
>
--}}
{{--
<a
title=
"非禁用状态的渠道开发员为空的供应商"
class=
"main_filter"
id=
"no_purchase_uid"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierNoChannelUidList'))--}}
{{-- @if(checkPerm('SupplierNoChannelUidList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"采购员为空的供应商"
class=
"main_filter"
id=
"no_channel_uid"
>
--}}
{{--
<a
title=
"采购员为空的供应商"
class=
"main_filter"
id=
"no_channel_uid"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierInvalidChannelUidList'))--}}
{{-- @if(checkPerm('SupplierInvalidChannelUidList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"非禁止交易状态联系人绑定的采购员姓名不在组织架构中(采购员离职)的供应商"
--
}}
{{--
<a
title=
"非禁止交易状态联系人绑定的采购员姓名不在组织架构中(采购员离职)的供应商"
--
}}
{{
--
class=
"main_filter"
--
}}
{{
--
class=
"main_filter"
--
}}
{{
--
id=
"invalid_channel_uid"
>
--}}
{{
--
id=
"invalid_channel_uid"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierInvalidPurchaseUidList'))--}}
{{-- @if(checkPerm('SupplierInvalidPurchaseUidList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"非禁止交易状态联系人绑定的渠道开发员姓名不在组织架构中(渠道开发员离职)的供应商"
--
}}
{{--
<a
title=
"非禁止交易状态联系人绑定的渠道开发员姓名不在组织架构中(渠道开发员离职)的供应商"
--
}}
{{
--
class=
"main_filter"
--
}}
{{
--
class=
"main_filter"
--
}}
{{
--
id=
"invalid_purchase_uid"
>
--}}
{{
--
id=
"invalid_purchase_uid"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"联系人中存在非必填字段未填写"
class=
"main_filter"
--
}}
{{--
<a
title=
"联系人中存在非必填字段未填写"
class=
"main_filter"
--
}}
{{
--
id=
"contact_no_complete"
>
--}}
{{
--
id=
"contact_no_complete"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
<div
class=
"split-item"
id=
"s4"
style=
"text-align: center"
>
--}}
{{--
<div
class=
"split-item"
id=
"s4"
style=
"text-align: center"
>
--}}
{{-- @if(checkPerm('SupplierToFollowUpList'))--}}
{{-- @if(checkPerm('SupplierToFollowUpList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"非禁止交易状态的供应商重新分配渠道员,且必填信息不完整;或者禁用状态的供应商重新分配渠道员"
--
}}
{{--
<a
title=
"非禁止交易状态的供应商重新分配渠道员,且必填信息不完整;或者禁用状态的供应商重新分配渠道员"
--
}}
{{
--
class=
"main_filter"
--
}}
{{
--
class=
"main_filter"
--
}}
{{
--
id=
"to_follow_up"
>
--}}
{{
--
id=
"to_follow_up"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierNoSkuList'))--}}
{{-- @if(checkPerm('SupplierNoSkuList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"no_sku"
>
--}}
{{--
<a
class=
"main_filter"
id=
"no_sku"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
title=
"采购员全离职"
class=
"main_filter"
id=
"all_channel_user_resigned"
>
--}}
{{--
<a
title=
"采购员全离职"
class=
"main_filter"
id=
"all_channel_user_resigned"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
<div
class=
"split-item"
id=
"s5"
style=
"text-align: center"
>
--}}
{{--
<div
class=
"split-item"
id=
"s5"
style=
"text-align: center"
>
--}}
{{-- @if(checkPerm('SupplierBlockList'))--}}
{{-- @if(checkPerm('SupplierBlockList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"block"
data-value=
"-3"
>
--}}
{{--
<a
class=
"main_filter"
id=
"block"
data-value=
"-3"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{-- @if(checkPerm('SupplierDisableList'))--}}
{{-- @if(checkPerm('SupplierDisableList'))--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
id=
"disable"
data-value=
"-2"
>
--}}
{{--
<a
class=
"main_filter"
id=
"disable"
data-value=
"-2"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{-- @endif--}}
{{-- @endif--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
title=
"历史检测异常"
id=
"history_abnormal"
>
--}}
{{--
<a
class=
"main_filter"
title=
"历史检测异常"
id=
"history_abnormal"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<div
class=
"layui-row"
>
--}}
{{--
<a
class=
"main_filter"
title=
"系统标签中贴有客户指定的供应商"
id=
"has_supplier_tag"
>
--}}
{{--
<a
class=
"main_filter"
title=
"系统标签中贴有客户指定的供应商"
id=
"has_supplier_tag"
>
--}}
{{--
</a>
--}}
{{--
</a>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
<div
class=
"split-item"
id=
"s6"
style=
"text-align: center"
>
<div
class=
"split-item"
id=
"s6"
style=
"text-align: center"
>
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<a
class=
"main_filter"
title=
"战略供应商"
id=
"level_a"
>
<a
class=
"main_filter"
title=
"战略供应商"
id=
"level_a"
>
...
@@ -221,34 +221,96 @@
...
@@ -221,34 +221,96 @@
$routerName
=
explode
(
'/'
,
request
()
->
path
())[
1
];
$routerName
=
explode
(
'/'
,
request
()
->
path
())[
1
];
?>
?>
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['supplier_group'=>'供应商性质'],
['supplier_group'=>config('fixed.SupplierGroup')]) !!}
</div>
<div
class=
"layui-inline"
>
@inject('transformableInputPresenter','App\Presenters\Filter\TransformableInputPresenter')
{!! $transformableInputPresenter->render(['supplier_name'=>'供应商名称']) !!}
</div>
<div
class=
"layui-inline"
>
@inject('transformableInputPresenter','App\Presenters\Filter\TransformableInputPresenter')
{!! $transformableInputPresenter->render(['supplier_code'=>'供应商编码']) !!}
</div>
<div
class=
"layui-inline"
>
@inject('multiSelectorPresenter','App\Presenters\MultiSelectorPresenter')
{!! $multiSelectorPresenter->render('status','供应商状态','',$statusData) !!}
</div>
<div
class=
"layui-inline"
>
@inject('multiSelectorPresenter','App\Presenters\MultiSelectorPresenter')
{!! $multiSelectorPresenter->render('stockup_type','合作类型','',$stockupTypeData) !!}
</div>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传'],
['has_sku'=>[1=>'是',-1=>'否']]) !!}
</div>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['yunxin_channel_uid' => '线上采购员'],
['yunxin_channel_uid' => $userCodes]) !!}
</div>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['source' => 'SKU上传方式',],
['source'=>config('field.SkuSource')]) !!}
</div>
<div
class=
"layui-inline"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('purchase_type','代购类型','',config('field.PurchaseType')) !!}
</div>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['has_uploaded_sku'=>'历史SKU合作'],
['has_uploaded_sku'=>[1=>'是',-1=>'否']]) !!}
</div>
<button
class=
"layui-btn layui-btn-sm"
type=
"button"
id=
"show_filter_row2"
>
展开
</button>
</div>
</div>
<div
class=
"layui-row"
id=
"filter_row2"
style=
"display: none"
>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['
supplier_group'=>'供应商性质','
company_nature'=>'公司实际性质'],
{!! $multiTransformableSelectPresenter->render(['company_nature'=>'公司实际性质'],
['
supplier_group'=>config('fixed.SupplierGroup'),'
company_nature'=>config('field.CompanyNature')]) !!}
['company_nature'=>config('field.CompanyNature')]) !!}
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('transformableInputPresenter','App\Presenters\Filter\TransformableInputPresenter')
@inject('transformableInputPresenter','App\Presenters\Filter\TransformableInputPresenter')
{!! $transformableInputPresenter->render(['supplier_
name'=>'供应商名称','supplier_code'=>'供应商编码','group_code'=>'集团编码','supplier_id'=>'供应商ID
']) !!}
{!! $transformableInputPresenter->render(['supplier_
code'=>'供应商编码
']) !!}
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('
multiSelectorPresenter','App\Presenters\MultiSelector
Presenter')
@inject('
transformableInputPresenter','App\Presenters\Filter\TransformableInput
Presenter')
{!! $
multiSelectorPresenter->render('status','供应商状态','',$statusData
) !!}
{!! $
transformableInputPresenter->render(['group_code'=>'集团编码']
) !!}
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('
multiSelectorPresenter','App\Presenters\MultiSelector
Presenter')
@inject('
transformableInputPresenter','App\Presenters\Filter\TransformableInput
Presenter')
{!! $
multiSelectorPresenter->render('stockup_type','合作类型','',$stockupTypeData
) !!}
{!! $
transformableInputPresenter->render(['supplier_id'=>'供应商ID']
) !!}
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('transformableSelectPresenter','App\Presenters\Filter\TransformableSelectPresenter')
@inject('transformableSelectPresenter','App\Presenters\Filter\TransformableSelectPresenter')
{!! $transformableSelectPresenter->render(['channel_uid'=>'采购员','purchase_uid'=>'开发员','create_uid'=>'创建人'],$userCodes) !!}
{!! $transformableSelectPresenter->render(['channel_uid'=>'采购员'],$userCodes) !!}
</div>
<div
class=
"layui-inline"
>
@inject('transformableSelectPresenter','App\Presenters\Filter\TransformableSelectPresenter')
{!! $transformableSelectPresenter->render(['purchase_uid'=>'开发员'],$userCodes) !!}
</div>
<div
class=
"layui-inline"
>
@inject('transformableSelectPresenter','App\Presenters\Filter\TransformableSelectPresenter')
{!! $transformableSelectPresenter->render(['create_uid'=>'创建人'],$userCodes) !!}
</div>
</div>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作','outside_contact_type' => 'SKU上传方式','yunxin_channel_uid' => '线上采购员'],
{!! $multiTransformableSelectPresenter->render(['sku_tag'=>'SKU标准'],
['has_sku'=>[1=>'是',-1=>'否'], 'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode'),'uploaded_sku'=>[1=>'是',-1=>'否'],'outside_contact_type'=>config('field.OutsideContactType'),'yunxin_channel_uid' => $userCodes]) !!}
['sku_tag'=>config('field.SkuTag')]) !!}
</div>
<div
class=
"layui-inline"
>
@inject('multiTransformableSelectPresenter','App\Presenters\Filter\MultiTransformableSelectPresenter')
{!! $multiTransformableSelectPresenter->render(['sku_mode'=>'SKU模式'],
['sku_mode'=>config('field.SkuMode')]) !!}
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('multiSelectorPresenter','App\Presenters\MultiSelectorPresenter')
@inject('multiSelectorPresenter','App\Presenters\MultiSelectorPresenter')
...
@@ -263,18 +325,14 @@
...
@@ -263,18 +325,14 @@
{!! $multiTransformableSelectPresenter->render(['has_cooperation_agreement'=>'平台合作协议'],
{!! $multiTransformableSelectPresenter->render(['has_cooperation_agreement'=>'平台合作协议'],
['has_cooperation_agreement'=>[1=>'是',-1=>'否']]) !!}
['has_cooperation_agreement'=>[1=>'是',-1=>'否']]) !!}
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-row"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
<div
class=
"layui-inline"
style=
"width: 600px"
>
{!! $statusPresenter->render('purchase_type','代购类型','',config('field.PurchaseType')) !!}
@inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'创建时间','sku_create_time' => '首次上传sku时间','sku_update_time'=> '最新上传sku时间']) !!}
</div>
</div>
</div>
</div>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
style=
"width: 600px"
>
@inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'创建时间','sku_create_time' => '首次上传sku时间','sku_update_time'=> '最新上传sku时间']) !!}
</div>
</div>
<div
class=
"layui-row"
style=
"margin-top:10px;margin-bottom: 10px;margin-left: 20px;"
>
<div
class=
"layui-row"
style=
"margin-top:10px;margin-bottom: 10px;margin-left: 20px;"
>
<button
class=
"layui-btn layui-btn-sm layui-btn load"
id=
"getSupplierListButton"
lay-submit=
""
<button
class=
"layui-btn layui-btn-sm layui-btn load"
id=
"getSupplierListButton"
lay-submit=
""
...
...
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