From 599e0ba281f8c7c249749434b79a4386fd43b3e5 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 4 Jan 2026 07:30:33 -0800 Subject: [PATCH] refactor(admin-web): default to offline settlement mode for special deduction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change default mode from "指定金额扣减" to "全额线下结算扣减" to match batch create behavior where empty/0 amount means offline settlement. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../admin-web/src/app/(dashboard)/pending-actions/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/admin-web/src/app/(dashboard)/pending-actions/page.tsx b/frontend/admin-web/src/app/(dashboard)/pending-actions/page.tsx index fc726807..73f46101 100644 --- a/frontend/admin-web/src/app/(dashboard)/pending-actions/page.tsx +++ b/frontend/admin-web/src/app/(dashboard)/pending-actions/page.tsx @@ -123,7 +123,7 @@ export default function PendingActionsPage() { const [specialDeductionForm, setSpecialDeductionForm] = useState({ amount: '', reason: '', - isOfflineSettlement: false, // 是否为全额线下结算模式 + isOfflineSettlement: true, // 默认为全额线下结算模式 }); // 单个操作编辑时使用的表单 @@ -175,7 +175,7 @@ export default function PendingActionsPage() { actionParamsMap: {}, expiresAt: '', }); - setSpecialDeductionForm({ amount: '', reason: '', isOfflineSettlement: false }); + setSpecialDeductionForm({ amount: '', reason: '', isOfflineSettlement: true }); setShowCreateModal(true); };