Compare commits

..
2 Commits
Author SHA1 Message Date
gxwebsoft 4d96ca4569 fix(withdraw): 限制单笔提现金额及调整快捷金额选项
- 添加单笔提现金额上限200元的提示和限制逻辑
- 修改快捷金额选项为50、100和200元
- 保证提现金额不超过可用余额的校验逻辑正常运行
2026-04-16 01:05:31 +08:00
gxwebsoft daafca1d5d docs(withdraw): 添加单笔提现最高金额限制提示
- 在提现说明中新增第4条提示,说明单笔提现最高金额为200
- 提醒用户注意提现金额限制,避免超额申请
2026-04-16 00:59:15 +08:00
+9 -1
View File
@@ -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})
@@ -525,6 +532,7 @@ const DealerWithdraw: React.FC = () => {
1. 提取佣金必须完成实名认证。
2. 佣金非自动到账,在您提取佣金申请通过后,请手动到我的申请记录点击领取。
3. 桂乐淘温馨提示,请您依法依规申报所得,缴税相关税费。
4. 单笔提现最高金额为200。
</Text>
</View>
</CellGroup>