根因:projectWithDepartment 函数定义时遗漏了 type 参数,导致函数体内引用 type 变量时报 ReferenceError(未定义),type === 2 的判断永远无法正确执行。用户在提交时手动选择的发往科室被清空且无法提交。 修复:在函数签名中添加 type 参数,与 working 版本 medicalExaminations.vue 保持一致。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>