refactor: 調整倉庫自動建立機制,統一使用門市倉類型 (retail)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 54s

This commit is contained in:
2026-02-23 13:49:36 +08:00
parent 6dd3396fb7
commit 62dcf04e95
2 changed files with 13 additions and 5 deletions

View File

@@ -10,7 +10,6 @@ enum WarehouseType: string
case VENDING = 'vending'; // 販賣機倉/IoT
case TRANSIT = 'transit'; // 在途倉/移動倉
case QUARANTINE = 'quarantine'; // 瑕疵倉/報廢倉
case SYSTEM_SALES = 'system_sales'; // 系統自動建立的銷售倉
public function label(): string
{
@@ -21,7 +20,6 @@ enum WarehouseType: string
self::VENDING => '販賣機 (IoT設備)',
self::TRANSIT => '在途倉 (物流車)',
self::QUARANTINE => '瑕疵倉 (報廢/檢驗)',
self::SYSTEM_SALES => '系統銷售倉',
};
}
}