fix(#776): 请修复 Bug #776(重试)

根因:
- Bug #请修复 Bug #776(重试) 存在的问题

修复:
- 前端修复完成。现在验证编译:
This commit is contained in:
2026-06-19 11:41:16 +08:00
parent 20a69cc78d
commit 552eff2c4f

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;