提高付款上限
This commit is contained in:
parent
f3e5c8e978
commit
d64cb9f1f2
@ -286,7 +286,7 @@ export default function Payment(props: IPaymentProps) {
|
|||||||
});
|
});
|
||||||
const [countdownTime, setCountdownTime] = useState('');
|
const [countdownTime, setCountdownTime] = useState('');
|
||||||
// const [isCountdownTimeout, setIsCountdownTimeout] = useState(false);
|
// const [isCountdownTimeout, setIsCountdownTimeout] = useState(false);
|
||||||
const moneyRange: number[] = [0.01, 20000];
|
const moneyRange: number[] = [0.01, 100000];
|
||||||
const countdownIntervalRef = useRef<any>();
|
const countdownIntervalRef = useRef<any>();
|
||||||
const [refreshQrCodeCount, setRefreshQrCodeCount] = useState(0);
|
const [refreshQrCodeCount, setRefreshQrCodeCount] = useState(0);
|
||||||
|
|
||||||
@ -383,7 +383,7 @@ export default function Payment(props: IPaymentProps) {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<InputNumber min={0.01} max={2000} defaultValue={form.getFieldValue('rechargeMoney')} />
|
<InputNumber min={0.01} max={100000} defaultValue={form.getFieldValue('rechargeMoney')} />
|
||||||
<Button type="link" onClick={() => {
|
<Button type="link" onClick={() => {
|
||||||
const money = form.getFieldValue('rechargeMoney');
|
const money = form.getFieldValue('rechargeMoney');
|
||||||
if (money < moneyRange[0]) {
|
if (money < moneyRange[0]) {
|
||||||
@ -885,9 +885,20 @@ export default function Payment(props: IPaymentProps) {
|
|||||||
form={form}
|
form={form}
|
||||||
onFinish={() => {
|
onFinish={() => {
|
||||||
setPaymentModal(true)
|
setPaymentModal(true)
|
||||||
|
|
||||||
|
// if (!isRechargeMoneyEdit) {
|
||||||
|
// setPaymentModal(true);
|
||||||
|
// } else {
|
||||||
|
// messageApi.error('请先完成充值金额的修改');
|
||||||
|
// }
|
||||||
|
|
||||||
}}
|
}}
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
|
onKeyDown={(e) => {
|
||||||
|
if (e.key === 'Enter') {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<div style={{
|
<div style={{
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
Loading…
Reference in New Issue
Block a user