处方溯源测试
This commit is contained in:
@@ -244,7 +244,7 @@ class ExamineController extends BasePharmacistController
|
||||
|
||||
ds($prescription);
|
||||
return [
|
||||
'type' => $prescription->prescription_type == 1 ? '中药处方' : ($prescription->prescription_type == 2 ? '西药处方' : '颗粒药处方'),
|
||||
'type' => $prescription['prescription_type'] == 1 ? '中药处方' : ($prescription['prescription_type'] == 2 ? '西药处方' : '颗粒药处方'),
|
||||
'prescription' => $prescription,
|
||||
'doctor' => $doctor
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user