Commit 308136a6 by lujunyi

药品导入

parent 569ac709
...@@ -43,7 +43,7 @@ protected function grid() ...@@ -43,7 +43,7 @@ protected function grid()
$answerMap = [1 => '是', 0 => '否']; $answerMap = [1 => '是', 0 => '否'];
return array_map(function ($item) { return array_map(function ($item) {
return $item['drug_name'].' : '.$item['spec'].' : '.$item['num'].$item['unit'].' : '.$item['dosage_desc']; return $item['drug_name'].' : '.($item['spec'] ?? '').' : '.$item['num'].($item['unit'] ?? '').' : '.($item['dosage_desc'] ?? '');
}, $drugInfo); }, $drugInfo);
})->label(); })->label();
$grid->column('pharmacy_name'); $grid->column('pharmacy_name');
......
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