huangbin 4 vuotta sitten
vanhempi
commit
649ef62be4

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_recharge/index.vue

@@ -105,7 +105,7 @@ export default defineComponent({
                     CusBankID: signBank.cusbankid,
                     BankAccoutNum: signBank.bankaccountno2,
                     BankAccoutName: signBank.bankaccountname2,
-                    Amount: res.price,
+                    Amount: res.price!,
                     extend_info: JSON.stringify(extendInfo),
                 };
                 requestResultLoadingAndInfo(buildInMoney, param, loading, ['充值成功', '充值失败:']).then(() => {

+ 2 - 2
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_withdraw/index.vue

@@ -117,7 +117,7 @@ export default defineComponent({
                 return;
             }
             const max = props.canUseMoney;
-            if (max) {
+            if (max && formState.price) {
                 if (formState.price > max) {
                     message.error(`提现金额不能超过${max}`);
                     return;
@@ -134,7 +134,7 @@ export default defineComponent({
                     CusBankID: signBank.cusbankid,
                     BankAccoutNum: signBank.bankaccountno2,
                     BankAccoutName: signBank.bankaccountname2,
-                    Amount: res.price,
+                    Amount: res.price!,
                     extend_info: '',
                 };
                 requestResultLoadingAndInfo(buildOutMoney, param, loading, ['提现成功', '提现失败:']).then(() => {