问题:合并详情页"合并份数"显示订单条数(7)而非实际份数(10), "总价值"硬编码 订单数×1887,每笔订单金额也硬编码 1,887。 修复: 后端 getMergeDetail: - 新增 sourceOrders[] 含每笔订单的 portionCount + totalAmount - 新增 totalPortions(总份数)和 totalAmount(总金额) 前端 PrePlantingMerge model: - 新增 MergeSourceOrder 类 - 新增 sourceOrders/totalPortions/totalAmount 字段 前端合并详情页: - "合并份数"用 totalPortions 替代 sourceOrderNos.length - "总价值"用 totalAmount 替代硬编码计算 - 来源订单列表显示每笔实际金额和份数(多份时显示"N份"前缀) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| android | ||
| assets | ||
| docs | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| scripts | ||
| test | ||
| web | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| CLAUDE.md | ||
| README.MD | ||
| analysis_options.yaml | ||
| flutter_android_update_guide.md | ||
| flutter_telemetry_solution.md | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| quickly.lottie | ||
| stickman.lottie | ||
README.MD
Create Flutter Framework
C:\Users\ph\Desktop\app>flutter create --org com.rwadurian rwa_android_app
Creating project rwa_android_app...
Resolving dependencies in `rwa_android_app`... (3.7s)
Downloading packages...
Got dependencies in `rwa_android_app`.
Wrote 130 files.
All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd rwa_android_app
$ flutter run
Your application code is in rwa_android_app\lib\main.dart.
rwa_android_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.