Fix Bug #556: 就诊卡号改用busNo映射、执行时间默认当前时间、套餐标识增加packageName联合判断

根因:
1. medicalrecordNumber 绑定到 identifierNo(身份证号)而非 busNo(就诊卡号),导致字段为空
2. executeTime 初始化为 null 且未在 initData/resetForm 中设置默认值
3. loadApplicationToForm 中 isPackage 判断仅用 feePackageId != null,缺少 packageName 联合判断,
   导致 feePackageId 非空但非套餐的项目被误标为"套餐"

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-20 10:07:41 +08:00
committed by zhaoyun
parent 232a0db810
commit c7da7440f6

View File

@@ -898,6 +898,9 @@ const initData = async () => {
// 申请日期实时更新(启动定时器) // 申请日期实时更新(启动定时器)
startApplyTimeTimer() startApplyTimeTimer()
// 执行时间默认填充当前系统时间
formData.executeTime = formatDateTime(new Date())
// 获取主诊断信息 // 获取主诊断信息
try { try {
const res = await getEncounterDiagnosis(props.patientInfo.encounterId) const res = await getEncounterDiagnosis(props.patientInfo.encounterId)