a0466fda3b7de87b59ec601ca58da92fe864637f
当 r.quantity 为 0 时,原代码 r.amount / r.quantity 会导致除零错误。 修复:优先使用 r.unit_price,仅在 unit_price 不存在时才计算,并添加防护。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
No description provided
264 KiB
Languages
JavaScript
76.2%
HTML
11.6%
CSS
10.8%
Shell
1.4%