[REFACTOR] 移除機台管理與庫存設定中的貨道同步套用功能與日誌面板冗餘分頁
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 46s
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 46s
1. 移除 MachineController 貨道更新 API 的 apply_all_same_product 驗證規則。 2. 簡化 MachineService 的 updateSlot 邏輯,取消「同步套用至同機台其他相同商品」的批次異動功能以確保資料準確性。 3. 清理 index.blade.php 機台管理頁面中的「貨道狀態 (Slot Status)」分頁、相關 Alpine.js 函式與專用的貨道編輯 Modal。 4. 修正 stock.blade.php 庫存管理介面,移除編輯 Modal 內的同步切換開關。
This commit is contained in:
@@ -129,7 +129,6 @@ class MachineController extends AdminController
|
||||
'stock' => 'nullable|integer|min:0',
|
||||
'expiry_date' => 'nullable|date',
|
||||
'batch_no' => 'nullable|string|max:50',
|
||||
'apply_all_same_product' => 'boolean'
|
||||
]);
|
||||
|
||||
$this->machineService->updateSlot($machine, $validated);
|
||||
|
||||
Reference in New Issue
Block a user