Commit 5704c9ad by 赵增煜
parents 3eaa185c e440b542
......@@ -130,9 +130,9 @@ protected function form()
$form->switch('is_foreign');
$form->switch('is_rx');
$form->switch('is_si');
$array = range(1, 10);
$array = range(0, 10);
$limitOption = array_combine($array, $array);
$form->select('limit_buy_7')->placeholder('请选择限购数量')->options($limitOption)->help('限购数量')->required();
$form->select('limit_buy_7')->placeholder('请选择限购数量')->options($limitOption)->help('限购数量')->required()->default(0);
$form->multipleSelect('tag', '标签')
->options(function () {
return DrugTagModel::all()->pluck('tag_name', 'id');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment