This commit is contained in:
2026-04-13 20:37:09 +08:00
parent c8715b8724
commit 4b3b9e83cf
8 changed files with 703 additions and 197 deletions
+6
View File
@@ -21,6 +21,12 @@
- `ShowOrder.vue` 详情页新增:状态快捷切换按钮(四个状态一键切换)、状态变更 commit 历史时间线(竖排列表,含状态标签+时间+评论)
- i18n 同步新增 8 个翻译 key
### 新增:状态变更弹窗(含备注输入)
- `ShowOrder.vue` 中状态按钮不再直接变更,改为弹出确认框
- 弹窗包含:目标状态标签 + 备注 textarea(支持 Ctrl+Enter 快捷确认)
- 备注内容通过 `updateOrderStatus(id, status, comment)` 提交
- `message.save_success` 已补充到中英 i18n 文件
### 注意事项
- 重启后端后 GORM AutoMigrate 会自动新增字段和表,无需手动 SQL
- 前端 `CostItem` 的 CurrencyType/Type 改为 int,与后端一致