dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-22-下单后包材实时计算显示.md
2026-10-28 11:14:17 +08:00

8 lines
621 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1. 主题
**旭东 → OpenClaw:**
> 但是目前下单后包材显示数据还是为0,并不是正确的3000,应该是3000+1000-1000=3000的计算逻辑
**OpenClaw 响应:**
已修正下单信息弹窗的下单后包材展示逻辑:弹窗打开及修改下单前包材、包材实际下单数量或成品实际下单数量时,实时按“下单前包材 + 包材实际下单数量 - 成品实际下单数量”计算显示。该示例现在显示为 `3000 + 1000 - 1000 = 3000`;确认下单时后端仍按同一公式写入数据库。Python/JavaScript检查通过,测试服务重启后HTTP 200。