huangbin %!s(int64=4) %!d(string=hai) anos
pai
achega
179694a2dd

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

@@ -20,6 +20,14 @@
               </a-form-item>
             </a-col>
             <a-col :span="24">
+              <a-form-item label="可提现金额"
+                           name="price">
+                <span class="white ml8"> {{selectedRow.currentbalance}} <span class="blue"
+                        @click="chooseAll">全部</span></span>
+              </a-form-item>
+
+            </a-col>
+            <a-col :span="24">
               <a-form-item label="银行卡号">
                 <span class="white ml8">{{getItemSignBankValue('bankname')}}</span>
               </a-form-item>
@@ -98,7 +106,9 @@ export default defineComponent({
         const { rules, formState, formRef } = handleForm();
         // 签约银行
         const { hasSignBank, getSignBank, getItemSignBankValue } = useSignBank();
-
+        function chooseAll() {
+            formState.price = props.selectedRow.currentbalance;
+        }
         function submit() {
             if (!hasSignBank()) {
                 message.error('请先签约银行!');
@@ -130,6 +140,7 @@ export default defineComponent({
             formRef,
             getApplyInOrOutTime,
             getItemSignBankValue,
+            chooseAll,
         };
     },
 });