Files
his/openhis-ui-vue3
赵云 6c274ad2b9 Fix Bug #433: 门诊手术安排:编辑弹窗内"麻醉方法"回显为代码且"外请专家姓名"数据未加载
根因:handleEdit/handleView 中用 nextTick 设置 anesMethod 类型转换,
但 nextTick 只等待 Vue DOM 更新,不等待 useDict 异步加载字典数据。
当 anesthesiaList 尚未加载时,el-select 没有选项可匹配,直接显示原始值。

修复:用 watch 监听 anesthesiaList,字典加载完成后再设置表单字段类型转换。
同时 handleEdit 和 handleView 两处均修复。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 17:18:01 +08:00
..

The file is empty.