5sControl / 5sControl/5s-frontend
Order is created with time 0 minutes
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Precondition:
Go to https://stage.5scontrol.com\mobile
Login as admin
Отсканировать QR с операцией сборка.
Login - петров_петр
пароль - 1234
Description:
После сканирования QR операции, а после отменить (не выбрав никое время), в заказах появляется данная операция с временем 0 минут
Step to reproduce:
1. Отсканировать QR под worker
2. Кликнуть на иконку "Назад" сверху слева
3. Проверить заказ под админом
Expected result:
Появляется заказ. Время указывается 0 минут
Actual result:
Заказ не должен создаваться
Attachment:


Hướng dẫn đóng góp
Hướng nghiên cứu
The issue describes a mobile frontend bug where an order is incorrectly created with 0 minutes when a QR scan operation is cancelled. Start by examining the mobile login flow and QR scanning components. Look for the order creation logic and the condition that triggers it when the 'back' icon is clicked. Check the state management for the operation time to see why a zero value is passed. Verify the expected behavior by testing the cancellation path.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend, mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100