Compare commits
2 Commits
83e0c663c9
...
642c4a0941
| Author | SHA1 | Date | |
|---|---|---|---|
| 642c4a0941 | |||
| 30953d5771 |
@@ -1103,7 +1103,9 @@ function selectAdviceBase(key, row) {
|
|||||||
prescriptionList.value[rowIndex.value].positionName = stock.locationName;
|
prescriptionList.value[rowIndex.value].positionName = stock.locationName;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
prescriptionList.value[rowIndex.value].orgId = JSON.parse(JSON.stringify(row)).positionId;
|
// 执行科室默认逻辑:优先使用诊疗项目维护的所属科室,如果没有则使用开单科室
|
||||||
|
const defaultOrgId = row.positionId || props.patientInfo.orgId;
|
||||||
|
prescriptionList.value[rowIndex.value].orgId = defaultOrgId;
|
||||||
prescriptionList.value[rowIndex.value].unitPrice = row.priceList[0].price;
|
prescriptionList.value[rowIndex.value].unitPrice = row.priceList[0].price;
|
||||||
}
|
}
|
||||||
expandOrder.value = [key];
|
expandOrder.value = [key];
|
||||||
@@ -1499,7 +1501,9 @@ function setValue(row) {
|
|||||||
.toFixed(2);
|
.toFixed(2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
prescriptionList.value[rowIndex.value].orgId = JSON.parse(JSON.stringify(row)).positionId;
|
// 执行科室默认逻辑:优先使用诊疗项目维护的所属科室,如果没有则使用开单科室
|
||||||
|
const defaultOrgId = row.positionId || props.patientInfo.orgId;
|
||||||
|
prescriptionList.value[rowIndex.value].orgId = defaultOrgId;
|
||||||
prescriptionList.value[rowIndex.value].unitPrice = row.priceList[0].price;
|
prescriptionList.value[rowIndex.value].unitPrice = row.priceList[0].price;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user