Commit e944a130 by 杨树贤

chain

parent 24c597fd
...@@ -124,6 +124,18 @@ class SupplierFilter ...@@ -124,6 +124,18 @@ class SupplierFilter
$endTime = strtotime($times[1]); $endTime = strtotime($times[1]);
$query->whereBetween('update_time', [$startTime, $endTime]); $query->whereBetween('update_time', [$startTime, $endTime]);
} }
if (!empty($map['sku_create_time'])) {
$times = explode('~', $map['sku_create_time']);
$startTime = strtotime($times[0]);
$endTime = strtotime($times[1]);
$query->whereBetween('sku_create_time', [$startTime, $endTime]);
}
if (!empty($map['sku_update_time'])) {
$times = explode('~', $map['sku_update_time']);
$startTime = strtotime($times[0]);
$endTime = strtotime($times[1]);
$query->whereBetween('sku_update_time', [$startTime, $endTime]);
}
if (!empty($map['blacklist_uid'])) { if (!empty($map['blacklist_uid'])) {
$query = $query->whereHas('blacklist', function ($q) use ($map) { $query = $query->whereHas('blacklist', function ($q) use ($map) {
......
...@@ -39,7 +39,7 @@ class SupplierApplyController extends Controller ...@@ -39,7 +39,7 @@ class SupplierApplyController extends Controller
} }
//操作日志列表 //芯链申请列表
public function SupplierApplyList($request) public function SupplierApplyList($request)
{ {
$this->data['auditUidList'] = SupplierApplyModel::pluck('audit_name', 'audit_uid')->toArray(); $this->data['auditUidList'] = SupplierApplyModel::pluck('audit_name', 'audit_uid')->toArray();
......
...@@ -92,11 +92,11 @@ ...@@ -92,11 +92,11 @@
</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="no_quality_assurance_agreement">--}} {{-- id="no_quality_assurance_agreement">--}}
{{-- </a>--}} {{-- </a>--}}
{{-- </div>--}} {{-- </div>--}}
<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>
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
<div class="layui-row"> <div class="layui-row">
<div class="layui-inline" style="width: 600px"> <div class="layui-inline" style="width: 600px">
@inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter') @inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'创建时间']) !!} {!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'创建时间','sku_create_time' => '首次上传sku时间','sku_update_time'=> '最新上传sku时间']) !!}
</div> </div>
</div> </div>
......
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