5sControl / 5sControl/5s-frontend
[2h] Incorrect rounding during assembly
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Precondition:
Go to https://office.5scontrol.com/
Login as admin
Description:
При суммировании времени разных сборок в одном заказе, некорректно округляется время
Step to reproduce:
1. Перйти в заказы
2. Выбрать заказ 123123
3. Обратить внимание на общее время сборки
4. Перейти в сборку
5. Обратить внимание на время
6. Выбрать первую сборку
7. Сверить время работы этой сборки
Expected result:
Время сборки везде совпадает. Округляется в большую или меньшую сторону
Actual result:
Общее время всех сборок округляется неправильно. Время отдельно взятой сборки также не совпадает
Attachment:
コントリビューションガイド
調査の方向性
The issue describes a rounding error in assembly time totals within an order. Start by locating the order and assembly components in the frontend codebase, likely under `src/components/` or `src/pages/`. Look for time calculation and summation logic, possibly involving utility functions for rounding. Check the data flow from the API to the UI to identify where the discrepancy occurs. Verify the fix by comparing the total time displayed on the order page with the sum of individual assembly times.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100