From 4d96ca45696d19117727479a43a6d7f81b0193b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 16 Apr 2026 01:05:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(withdraw):=20=E9=99=90=E5=88=B6=E5=8D=95?= =?UTF-8?q?=E7=AC=94=E6=8F=90=E7=8E=B0=E9=87=91=E9=A2=9D=E5=8F=8A=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=BF=AB=E6=8D=B7=E9=87=91=E9=A2=9D=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加单笔提现金额上限200元的提示和限制逻辑 - 修改快捷金额选项为50、100和200元 - 保证提现金额不超过可用余额的校验逻辑正常运行 --- src/dealer/withdraw/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/dealer/withdraw/index.tsx b/src/dealer/withdraw/index.tsx index 8705a1c..67b9a45 100644 --- a/src/dealer/withdraw/index.tsx +++ b/src/dealer/withdraw/index.tsx @@ -308,6 +308,13 @@ const DealerWithdraw: React.FC = () => { // return } + if (amount > 200) { + Taro.showToast({ + title: '单笔最多提现200元', + icon: 'none' + }) + return + } if (amount > available) { Taro.showToast({ title: '提现金额超过可用余额', @@ -413,7 +420,7 @@ const DealerWithdraw: React.FC = () => { } } - const quickAmounts = ['100', '300', '500', '1000'] + const quickAmounts = ['50', '100', '200'] const setQuickAmount = (amount: string) => { formRef.current?.setFieldsValue({amount})