新增限制开具处方药品最多添加5个

This commit is contained in:
wucongxing 2023-04-07 11:21:08 +08:00
parent b6a1eb8b7d
commit 4d756c1cdc

View File

@ -108,7 +108,7 @@ class UserDoctorRequest extends FormRequest
'order_prescription_id' => 'required', 'order_prescription_id' => 'required',
'prescription_icd' => 'required|array|min:1', 'prescription_icd' => 'required|array|min:1',
'doctor_advice' => 'required', 'doctor_advice' => 'required',
'prescription_product' => 'required|array|min:1', 'prescription_product' => 'required|array|min:1|max:5',
'message_inquiry_type' => 'required|integer|min:1|max:5', 'message_inquiry_type' => 'required|integer|min:1|max:5',
]; ];
} }