Handy_Cao 10 月之前
父節點
當前提交
b4bc363b07

+ 6 - 4
src/packages/mobile/views/bank/sign/components/edit/Index.vue

@@ -339,10 +339,12 @@ onMounted(() => {
         })
     }
 
-    if (formData.CusBankID) {
-        cusBankName.value = bankInfo.value.cusbankname
-        formData.CusBankID = bankInfo.value.cusbankid
-    }
+    setTimeout(() => {
+        if (formData.CusBankID) {
+            cusBankName.value = bankInfo.value?.cusbankname ?? ''
+            formData.CusBankID = bankInfo.value?.cusbankid
+        }
+    }, 500);
 })
 
 // 暴露组件属性给父组件调用

+ 4 - 5
src/packages/mobile/views/pricing/trade/fullpayment/Index.vue

@@ -31,10 +31,9 @@
             </div>
             <div class="g-form" style="margin-top: 5px;">
                 <Form ref="formRef" class="g-form__container" @submit="onSubmit">
-                    <Field class="g-form__addressinfo" v-if="quote?.trademode != 10" name="Receive" :label="$t('performance.address')"
-                        type="textarea" autosize v-model="formData.AddrInfo" :rules="formRules.AddrInfo"
-                        :placeholder="$t('performance.pleaseentertheaddress')" left-icon="location" label-align="top"
-                        right-icon="add-o" @click-right-icon="showContact = true" />
+                    <Field class="g-form__addressinfo" v-if="quote?.trademode != 10" left-icon="location" label-align="top" right-icon="add-o"
+                     name="AddrInfo" :label="$t('performance.address')" type="textarea" autosize v-model="formData.AddrInfo" 
+                     :rules="formRules.AddrInfo" :placeholder="$t('performance.pleaseentertheaddress')" @click-right-icon="showContact = true" />
                 </Form>
             </div>
             <div class="order-total">
@@ -78,7 +77,7 @@
             </div>
             <template #footer v-if="collection">
                 <div class="g-form__footer inset">
-                    <Button type="danger" block :disabled="orderQty === 0" @click="onSubmit">
+                    <Button type="danger" block :disabled="orderQty === 0" @click="formRef?.submit">
                         {{ $t('operation.buynow') }}
                     </Button>
                 </div>