Commit f978627e by 赵增煜

修改展示

parent a41f58f6
......@@ -39,6 +39,7 @@ protected function grid()
$grid->column('drug_info')->pluck('drug_name')->label();
$grid->column('drug_info')->display(function ($drugInfo) {
return array_map(function ($item) {
$item = json_decode($item, true);
return $item['drug_name'].' : '.($item['drug_spec'] ?? '').' : '.$item['drug_num'];
}, $drugInfo);
})->label();
......
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