인벤토리 화면 한글 주석 추가

This commit is contained in:
JiWoong Sul
2025-09-29 17:25:53 +09:00
parent 2a0db08079
commit 1b7033d35d
4 changed files with 18 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ import 'package:superport_v2/core/permissions/permission_manager.dart';
const String _inboundTransactionTypeId = '입고';
/// 입고 목록과 상세/등록 모달을 관리하는 화면.
class InboundPage extends StatefulWidget {
const InboundPage({super.key, required this.routeUri});
@@ -27,6 +28,7 @@ class InboundPage extends StatefulWidget {
State<InboundPage> createState() => _InboundPageState();
}
/// 입고 화면의 상태와 사용자 상호작용을 제어한다.
class _InboundPageState extends State<InboundPage> {
final TextEditingController _searchController = TextEditingController();
final DateFormat _dateFormatter = DateFormat('yyyy-MM-dd');
@@ -800,6 +802,9 @@ class _InboundPageState extends State<InboundPage> {
return (totalItems / _pageSize).ceil();
}
/// 입고 등록/수정 모달을 띄우고 사용자가 입력한 결과를 반환한다.
///
/// [initial] 값이 있으면 수정 모드로 작동하며, 입력 검증 실패 시 토스트로 안내한다.
Future<InboundRecord?> _showInboundFormDialog({
InboundRecord? initial,
}) async {
@@ -1540,6 +1545,7 @@ class _LineItemFieldErrors {
}
}
/// 입고 등록 폼 내용을 검증하고 오류 메시지를 반환한다.
_InboundFormValidation _validateInboundForm({
required TextEditingController writerController,
required String warehouseValue,