fix: 修复#456门诊医生站医嘱类型和状态异常
根因: 处方列表组件中adviceTypes参数传递格式错误, 将单个adviceType值直接赋值给adviceTypes参数, 但后端期望List<Integer>数组格式。 修复: 将adviceQueryParams.adviceTypes = value改为 adviceQueryParams.adviceTypes = [value],确保参数格式正确。
This commit is contained in:
@@ -562,7 +562,7 @@
|
|||||||
prescriptionList[scope.$index].minUnitQuantity = prescriptionList[scope.$index].quantity || 1;
|
prescriptionList[scope.$index].minUnitQuantity = prescriptionList[scope.$index].quantity || 1;
|
||||||
prescriptionList[scope.$index].minUnitCode = prescriptionList[scope.$index].unitCode;
|
prescriptionList[scope.$index].minUnitCode = prescriptionList[scope.$index].unitCode;
|
||||||
prescriptionList[scope.$index].minUnitCode_dictText = prescriptionList[scope.$index].unitCode_dictText;
|
prescriptionList[scope.$index].minUnitCode_dictText = prescriptionList[scope.$index].unitCode_dictText;
|
||||||
adviceQueryParams.adviceTypes = value; // 🎯 修复:改为 adviceTypes(复数)
|
adviceQueryParams.adviceTypes = [value]; // 🎯 修复:改为 adviceTypes(复数)
|
||||||
|
|
||||||
// 根据选择的类型设置categoryCode,用于药品分类筛选
|
// 根据选择的类型设置categoryCode,用于药品分类筛选
|
||||||
if (value == 1) { // 西药
|
if (value == 1) { // 西药
|
||||||
|
|||||||
Reference in New Issue
Block a user