Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Ranyunqiao
2026-06-24 11:43:52 +08:00

View File

@@ -1861,10 +1861,7 @@ function handleSave() {
ElMessage.warning('请至少选择一个检查明细项目');
return;
}
if (selectedMethods.value.length === 0) {
ElMessage.warning('请选择检查方法');
return;
}
// Bug #675: 移除检查方法强制非空校验,字段非必填时允许空值保存
// 从已选项目推导检查类型编码(取第一个项目的 checkType如 CT / ECG / GI
const firstCheckType = selectedItems.value[0]?.checkType || 'unknown';
form.examTypeCode = firstCheckType;