处方溯源测试

This commit is contained in:
2024-12-13 16:34:38 +08:00
parent 58d9c1f8bc
commit 1eae4eca2c

View File

@@ -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
];