h-1.flutter.4/README.md

65 lines
No EOL
2.7 KiB
Markdown

# 販売管理システム(販売アシスト)
簡素版の Flutter アプリ。全てのマスター編集画面で共通部品を使用しています。
## ビルド方法
```bash
flutter pub get
flutter build apk --release
```
APK は `build/app/outputs/flutter-apk/app-release.apk` に出力されます。
## 使用方法
1. APK をインストールしてアプリを起動
2. ダッシュボード画面から機能を選択
3. マスタの編集は全て共通部品を使用
## 画面割当と共通部品
**重要**: 全てのマスター編集画面で以下の共通部品を使用します。
### 共通使用部品
| 部品名 | ファイル | 用途 |
|--------|----------|------|
| `MasterEditDialog` | `lib/widgets/master_edit_dialog.dart` | マスタ編集ダイアログ(全てのマスタ) |
| `MasterTextField` | `lib/widgets/master_edit_fields.dart` | テキスト入力フィールド |
| `MasterTextArea` | `lib/widgets/master_edit_fields.dart` | テキストエリアフィールド |
| `MasterNumberField` | `lib/widgets/master_edit_fields.dart` | 数値入力フィールド |
| `MasterStatusField` | `lib/widgets/master_edit_fields.dart` | ステータス表示フィールド |
| `MasterCheckboxField` | `lib/widgets/master_edit_fields.dart` | チェックボックスフィールド |
### 各マスター画面の共通部品使用状況
| マスタ画面 | 編集ダイアログ | リッチ程度 |
|------------|----------------|-------------|
| 商品マスタ | ✅ MasterEditDialog | 簡素版統一 |
| 得意先マスタ | ✅ MasterEditDialog | 簡素版統一 |
| 仕入先マスタ | ✅ MasterEditDialog | 簡素版統一 |
| 担当マスタ | ✅ MasterEditDialog | 簡素版統一 |
| 倉庫マスタ | ⚠️ 除外(簡素版のため) | - |
## 機能一覧
- **ダッシュボード**: メイン画面、統計情報表示
- **見積入力画面** (`/estimate`): 見積りの作成・管理
- **在庫管理** (`/inventory`): 未実装
- **商品マスタ** (`/master/product`): 商品の登録・編集・削除
- **得意先マスタ** (`/master/customer`): 顧客の登録・編集・削除
- **仕入先マスタ** (`/master/supplier`): 仕入先の登録・編集・削除
- **担当マスタ** (`/master/employee`): 担当者の登録・編集・削除
- **倉庫マスタ**: 未実装(簡素版のため除外)
- **売上入力画面** (`/sales`): 売上情報の入力
## 注意事項
- 倉庫マスタと在庫管理は簡素版のため未実装です
- すべてのマスター編集画面で共通部品を使用してください
- 独自の実装は推奨されません
## ライセンス
Copyright (c) 2026. All rights reserved.