fix(#776): zhaoyun (文件合入)

This commit is contained in:
2026-06-19 11:43:50 +08:00
committed by 华佗
parent 469e705d47
commit 0e055fdadc

View File

@@ -191,10 +191,8 @@ function handleGetPrescription() {
const params = {
encounterIds: encounterIds || undefined
};
if (props.therapyEnum !== undefined) {
params.therapyEnum = props.therapyEnum;
}
params.tcmFlag = props.drugType === '1' ? 0 : 1;
// 注意:汇总单查询不传 tcmFlag / therapyEnum因为汇总单表wor_supply_request
// 没有这些列,传入会导致 PostgreSQL 报 "column 'tcm_flag' does not exist"
getMedicineSummary(params).then((res) => {
medicineSummaryFormList.value = res.data.records;
loading.value = false;