feat(Inventory): 實作批號溯源完整功能與 UI 呈現,包含文字敘述卡片與更完整的關聯屬性
This commit is contained in:
@@ -5,4 +5,21 @@ namespace App\Modules\Production\Contracts;
|
||||
interface ProductionServiceInterface
|
||||
{
|
||||
public function getPendingProductionCount(): int;
|
||||
|
||||
/**
|
||||
* 尋找產出特定批號的生產工單
|
||||
*
|
||||
* @param string $batchNumber
|
||||
* @return \Illuminate\Support\Collection
|
||||
*/
|
||||
public function getProductionOrdersByOutputBatch(string $batchNumber): \Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
* 尋找使用了特定庫存批號的生產工單項目
|
||||
*
|
||||
* @param int $inventoryId
|
||||
* @param array $with
|
||||
* @return \Illuminate\Support\Collection
|
||||
*/
|
||||
public function getProductionOrderItemsByInventoryId(int $inventoryId, array $with = []): \Illuminate\Support\Collection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user