Compare commits
2 Commits
83e0c663c9
...
642c4a0941
| Author | SHA1 | Date | |
|---|---|---|---|
| 642c4a0941 | |||
| 30953d5771 |
@@ -1103,9 +1103,11 @@ 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];
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
if (row.adviceType == 1) {
|
if (row.adviceType == 1) {
|
||||||
@@ -1499,9 +1501,11 @@ 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