You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
800 B
32 lines
800 B
<?php
|
|
|
|
|
|
namespace App\Admin\Lazys;
|
|
|
|
use App\Admin\Repositories\Withdrawal;
|
|
use App\Admin\Repositories\WithdrawalAlipay;
|
|
use App\Admin\Repositories\WithdrawalBank;
|
|
use App\Models\Demand;
|
|
use Dcat\Admin\Grid;
|
|
use Dcat\Admin\Grid\LazyRenderable;
|
|
use Dcat\Admin\Repositories\EloquentRepository;
|
|
use Dcat\Admin\Show;
|
|
|
|
|
|
class BankLazys extends LazyRenderable
|
|
{
|
|
public function grid(): Grid
|
|
{
|
|
return Grid::make(new WithdrawalBank(), function (Grid $grid) {
|
|
$grid->model()->where('withdrawal_id',$this->key);
|
|
$grid->column('id');
|
|
$grid->column('name','银行名称');
|
|
$grid->column('branch','支行');
|
|
$grid->column('card_number','卡号');
|
|
$grid->column('account_name','开户人');
|
|
$grid->disableActions();
|
|
$grid->disableRowSelector();
|
|
$grid->disablePagination();
|
|
});
|
|
}
|
|
}
|