链街Dcat后台
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.
 
 
 
 

34 lines
797 B

<?php
namespace App\Admin\Extensions;
use App\Admin\Forms\CouponTieForm;
use App\Admin\Forms\SelectHorseman;
use App\Models\ImsCjdcOrderMain;
use App\Models\StoreAccount;
use Dcat\Admin\Grid\RowAction;
use Dcat\Admin\Widgets\Modal;
use Illuminate\Http\Request;
class CheckRow extends RowAction
{
protected $title;
protected $order_id;
public function __construct($orderId,$title=null)
{
$this->order_id = $orderId;
parent::__construct($title);
}
public function render()
{
// 实例化表单类并传递自定义参数
$form = SelectHorseman::make(['order_id'=>$this->order_id]);
return Modal::make()
->lg()
->title($this->title)
->body($form)
->button($this->title);
}
}