|
|
|
@ -129,11 +129,8 @@ class OrderController extends AdminController |
|
|
|
$form->mobile('mobile'); |
|
|
|
$form->text('name')->width(2); |
|
|
|
$form->select('status')->options(OrderStatus::array())->width(2); |
|
|
|
}); |
|
|
|
})->deleting(function (Form $form) { |
|
|
|
return $form->response()->error('禁止删除'); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public function destroy($id) |
|
|
|
{ |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |