根因:setValue() 中药品分支未初始化 totalPrice;unitCode/minUnitCode 未转 String 导致 el-select 类型不匹配 修复:选药后立即计算 totalPrice;所有单位值统一 String() 转换 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The file is empty.
根因:setValue() 中药品分支未初始化 totalPrice;unitCode/minUnitCode 未转 String 导致 el-select 类型不匹配 修复:选药后立即计算 totalPrice;所有单位值统一 String() 转换 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>