Fix Bug #435: 门诊手术安排:编辑弹窗中"费用类别"字段数据未回显

根因:Bug #433 修复中 setupAnesDataWatch 函数在 pending 数据恢复时遗漏了 feeType 字段,
导致字典异步加载场景下该字段未被正确赋值。

修复:在 watch 回调中增加 if (data.feeType != null) form.feeType = data.feeType

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
赵云
2026-05-16 18:09:55 +08:00
parent 6c274ad2b9
commit 7024831904

View File

@@ -1154,6 +1154,7 @@ function setupAnesDataWatch() {
const data = pendingAnesData.value
if (data.anesMethod != null) form.anesMethod = Number(data.anesMethod)
if (data.incisionLevel != null) form.incisionType = Number(data.incisionLevel)
if (data.feeType != null) form.feeType = data.feeType
if (data.isExternalExpert != null) form.isExternalExpert = Number(data.isExternalExpert)
pendingAnesData.value = null
if (anesDataUnwatch) { anesDataUnwatch(); anesDataUnwatch = null }