huangbin 4 年 前
コミット
7819ece0b0

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_recharge/interface.ts

@@ -1,4 +1,4 @@
 export interface FormState {
-    price: number,
+    price: number | null,
     url: string,
 }

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_recharge/setup.ts

@@ -6,7 +6,7 @@ import { FormState } from "./interface";
 export function handleForm() {
     const formRef = ref();
     const formState: UnwrapRef<FormState> = reactive({
-        price: 0,
+        price: null,
         url: '',
     })
     const v_price = async (rule: RuleObject, value: number) => {

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

@@ -20,12 +20,10 @@
               </a-form-item>
             </a-col>
             <a-col :span="24">
-              <a-form-item label="可提现金额"
-                           name="price">
+              <a-form-item label="可提现金额">
                 <span class="white ml8"> {{canUseMoney}} <span class="blue"
                         @click="chooseAll">全部</span></span>
               </a-form-item>
-
             </a-col>
             <a-col :span="24">
               <a-form-item label="银行卡号">
@@ -33,7 +31,7 @@
               </a-form-item>
             </a-col>
             <a-col :span="24">
-              <a-form-item label="开银行">
+              <a-form-item label="开银行">
                 <span class="white ml8">{{getItemSignBankValue('bankaccountno')}}</span>
               </a-form-item>
             </a-col>

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_withdraw/interface.ts

@@ -1,4 +1,4 @@
 export interface FormState {
-    price: number,
+    price: number | null,
     url: string,
 }

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_withdraw/setup.ts

@@ -6,7 +6,7 @@ import { FormState } from "./interface";
 export function handleForm() {
     const formRef = ref();
     const formState: UnwrapRef<FormState> = reactive({
-        price: 0,
+        price: null,
         url: '',
     })
     const v_price = async (rule: RuleObject, value: number) => {