From 1f5ed4efe99de75609304e1b764eeaef5301202b Mon Sep 17 00:00:00 2001 From: qiuxiang Date: Tue, 1 Sep 2026 11:58:26 +0800 Subject: [PATCH] fix: disable empty platform selection --- .../zhongcai_reconciliations/partials/embedded-table.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/views/store_receivables/zhongcai_reconciliations/partials/embedded-table.blade.php b/resources/views/store_receivables/zhongcai_reconciliations/partials/embedded-table.blade.php index 2615216a1..6d23b4133 100644 --- a/resources/views/store_receivables/zhongcai_reconciliations/partials/embedded-table.blade.php +++ b/resources/views/store_receivables/zhongcai_reconciliations/partials/embedded-table.blade.php @@ -116,6 +116,7 @@ isEmpty()) disabled @endif + x-bind:disabled="platformIds[activePlatform].length === 0" x-on:change="selected = $event.target.checked ? platformIds[activePlatform] : []" x-bind:checked="selected.length === platformIds[activePlatform].length && selected.length > 0" class="h-4 w-4 rounded border-gray-300 text-green" />