Commit b5e29e55 by 杨树贤

品质协议

parent 2c4240e2
......@@ -305,13 +305,13 @@ class SupplierFilter
});
break;
//附件里面缺少品质协议的,而且是现货类型供应商
case "no_quality_assurance_agreement":
$query->whereDoesntHave('attachment', function ($query) {
$query->whereNotIn('status',
[SupplierChannelModel::STATUS_DISABLE, SupplierChannelModel::STATUS_BLOCK])
->where('field_name', 'quality_assurance_agreement');
})->where('supplier_group', 2);
break;
// case "no_quality_assurance_agreement":
// $query->whereDoesntHave('attachment', function ($query) {
// $query->whereNotIn('status',
// [SupplierChannelModel::STATUS_DISABLE, SupplierChannelModel::STATUS_BLOCK])
// ->where('field_name', 'quality_assurance_agreement');
// })->where('supplier_group', 2);
// break;
//联系人待完善
case "contact_no_complete":
$query->rightjoin('supplier_contact', 'supplier_channel.supplier_id', '=',
......
......@@ -92,11 +92,11 @@
</a>
</div>
@endif
<div class="layui-row">
<a title="公司性质为现货商性质的供应商没有上传品质协议" class="main_filter"
id="no_quality_assurance_agreement">
</a>
</div>
{{-- <div class="layui-row">--}}
{{-- <a title="公司性质为现货商性质的供应商没有上传品质协议" class="main_filter"--}}
{{-- id="no_quality_assurance_agreement">--}}
{{-- </a>--}}
{{-- </div>--}}
<div class="layui-row">
<a title="采购员全离职" class="main_filter" id="all_channel_user_resigned">
</a>
......
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