guanyu
78e5aff613
Fix Bug #443: 手术计费签发耗材时因 bizRequestFlag 过滤导致签发的项目列表为空
根因:prescriptionlist.vue 中 handleSave()、changeCheck()、watch、handleSingOut()
四处使用 bizRequestFlag 过滤(仅允许操作本人开立的医嘱)。
在手术计费场景下,手术医生创建的手术申请及其耗材的 requester_id 为医生ID,
手术室护士的 practitionerId 与之不匹配,bizRequestFlag='0',导致所有耗材
被过滤掉,saveList 为空,后端返回"医嘱列表为空"错误。
修复:在四处过滤逻辑中增加 isSurgeryChargeBillingContext() 判断(generateSourceEnum=6),
手术计费场景下跳过 bizRequestFlag 限制,允许任何授权用户签发/签退。
门诊划价场景保留 bizRequestFlag 限制,不影响原有安全校验。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 17:08:30 +08:00
..
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-18 17:08:30 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-09 10:34:16 +08:00