关羽 f2d36b49b2 Fix Bug #439: 领用出库:选择领用药品后"总库存数量"列数据未显示
根因分析:handleLocationClick 中使用 row.itemId 作为 getCount 查询参数,
但 row 来自药品选择弹窗的 rowValue 对象,该对象携带 definitionId 而非 itemId。
selectRow 中已将 definitionId 正确设置到 form.purchaseinventoryList[index].itemId,
但 handleLocationClick 未使用该值,导致 getItemId 为 undefined,后端查询无数据返回。

修复:1. 将 itemId 改为从 form.purchaseinventoryList[index].itemId 获取
      2. 为 getCount 添加 .catch() 降级处理,API 失败时 totalQuantity 置 0 避免空白

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 18:48:18 +08:00
2026-05-06 21:15:57 +08:00
2026-05-08 09:32:40 +08:00
2026-04-08 23:12:24 +08:00
Description
No description provided
154 MiB
Languages
Java 49.6%
Vue 44.7%
JavaScript 4.6%
HTML 0.7%
SCSS 0.1%