From 21743237bb9d3337ca00c07251b5803d1a8d8689 Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 1 May 2026 01:01:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20#428=E4=BF=AE=E5=A4=8DselectedItems.push?= =?UTF-8?q?=E7=BC=BA=E5=B0=91isPackage=E5=92=8CpackageId=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在selectedItems.push添加isPackage和packageId字段 - 在loadCategoryList的mapped对象添加packageId映射 - 确保套餐明细懒加载功能正常工作 --- .../components/examination/examinationApplication.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue b/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue index a9c07ce5..8cfa6802 100644 --- a/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue @@ -739,6 +739,7 @@ async function loadCategoryList() { checkType: p.checkType || '', nationalCode: p.nationalCode || '', packageName: p.packageName || '', + packageId: p.packageId || null, checked: false }; @@ -1071,7 +1072,9 @@ async function handleItemSelect(checked, item, cat) { checked: true, methods: methods, selectedMethod: null, - expanded: false // Bug #384修复: 新增展开状态,默认不展开 + expanded: false, // Bug #384修复: 新增展开状态,默认不展开 + isPackage: !!item.packageName, // Bug #428修复: 标记是否为套餐 + packageId: item.packageId || null // Bug #428修复: 套餐ID }); // 自动回填执行科室:按检查项目类型 → 检查类型管理里配置的执行科室