Commit 5c6ffcbf by 杨树贤

上传筛选

parent c0ab3ef7
...@@ -84,6 +84,10 @@ class SupplierFilter ...@@ -84,6 +84,10 @@ class SupplierFilter
$query->where('sku_tag', $map['sku_tag']); $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'])) { if (!empty($map['sku_mode'])) {
$query->where('sku_mode', $map['sku_mode']); $query->where('sku_mode', $map['sku_mode']);
} }
......
...@@ -126,5 +126,10 @@ return [ ...@@ -126,5 +126,10 @@ return [
'ApplyAuditReason' => [ 'ApplyAuditReason' => [
'拒签' => '拒签', '拒签' => '拒签',
'候补' => '候补' '候补' => '候补'
],
'OutsideContactType' => [
1 => '人工上传',
2 => 'API对接',
3 => '云芯上传'
] ]
]; ];
\ No newline at end of file
...@@ -167,8 +167,8 @@ ...@@ -167,8 +167,8 @@
<div class="layui-row"> <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合作'], {!! $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')]) !!} ['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode'),'outside_contact_type'=>config('field.OutsideContactType')]) !!}
</div> </div>
{{-- @if(checkPerm('ViewFakeSupplier'))--}} {{-- @if(checkPerm('ViewFakeSupplier'))--}}
<div class="layui-inline"> <div class="layui-inline">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment