diff --git a/lib/views/pages/user/requests/work_order/create_service_report.dart b/lib/views/pages/user/requests/work_order/create_service_report.dart index d21e034e..b9dc379a 100644 --- a/lib/views/pages/user/requests/work_order/create_service_report.dart +++ b/lib/views/pages/user/requests/work_order/create_service_report.dart @@ -102,6 +102,7 @@ class _CreateServiceReportState extends State with TickerPr await _assetTypeProvider.getTypes(user: _userProvider.user, host: _settingProvider.host); _serviceReport.assignedEmployee = _serviceReport.callRequest?.assignedEmployee; _serviceReport.equipmentStatus = _serviceReport.callRequest?.defectType; + _serviceReport.serviceType = Lookup(id: 65, name: "Interval", value: 1); // default value in service type as in web _spareParts = await _partsProvider.getPartsList(assetId: widget.request.deviceId); _isLoading = false; setState(() {}); @@ -245,6 +246,7 @@ class _CreateServiceReportState extends State with TickerPr title: context.translation.serviceType, initialValue: _serviceReport.serviceType, onSelect: (value) { + print("ServiceTypeProvider:${value.toJson()}"); _serviceReport.serviceType = value; }, ),