diff --git a/src/Http/Admin/GoodsController.php b/src/Http/Admin/GoodsController.php
index bbc6280..ddd155e 100644
--- a/src/Http/Admin/GoodsController.php
+++ b/src/Http/Admin/GoodsController.php
@@ -148,8 +148,8 @@ class GoodsController extends AdminController
$actions->view($user->can('dcat.admin.goods.show'));
+ $actions->edit($user->can('dcat.admin.goods.edit') && ! $row->on_sale);
if ($user->can('dcat.admin.goods.edit') && ! $row->on_sale) {
- $actions->edit();
$actions->append('属性介绍');
$actions->append('商品规格');
$actions->append('商品配件');
@@ -192,6 +192,9 @@ class GoodsController extends AdminController
$show->field('spec')->view('dcat-admin-goods::goods.grid-attr');
$show->field('attr')->view('dcat-admin-goods::goods.grid-attr');
$show->field('part')->view('dcat-admin-goods::goods.grid-attr');
+ $show->disableEditButton();
+ $show->disableListButton();
+ $show->disableDeleteButton();
$row = new Row();