Commit 3f63849a by 杨树贤

优化

parent 796c7fee
......@@ -152,11 +152,11 @@ class SupplierFilter
if ($map['has_cooperation_agreement'] == 1) {
$query->whereHas('attachment', function ($query) {
$query->where('field_name', 'cooperation_agreement');
})->where('uploaded_sku', '>', 0);
});
}else{
$query->whereDoesntHave('attachment', function ($query) {
$query->where('field_name', 'cooperation_agreement');
})->where('uploaded_sku', '>', 0);
});
}
}
......
......@@ -130,7 +130,7 @@
field: 'has_cooperation_agreement',
title: '平台合作协议',
align: 'center',
width: 80,
width: 120,
},
{
field: 'contact_num', title: '联系人', align: 'center', width: 70, templet: function (data) {
......
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