6
0
Fork 0

调整进货补贴搜索

release
vine_liutk 2022-02-11 11:20:42 +08:00
parent cdc90e42ba
commit 7ca8936c90
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class DealerPurchaseLogController extends AdminController
// dd($phone);
if ($phone) {
$user = User::where('phone', $phone)->first();
$grid->model()->where('path', 'like', '%-'.$user->id.'-');
$grid->model()->where('path', 'like', '%-'.$user->id.'-%');
}
$grid->column('id')->sortable();
$grid->column('user.phone', '手机号')->copyable();