阶段更新
This commit is contained in:
20
app/Admin/Actions/LinkStockOrderDeliver.php
Normal file
20
app/Admin/Actions/LinkStockOrderDeliver.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Admin\Actions;
|
||||
|
||||
use Encore\Admin\Actions\RowAction;
|
||||
|
||||
class LinkStockOrderDeliver extends RowAction
|
||||
{
|
||||
|
||||
public $name = '发货';
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function href(): string
|
||||
{
|
||||
return admin_url('mall/stock_orders?user_id='.$this->row->user->id);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user