zhb 2 ماه پیش
والد
کامیت
6b2d840ba6
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      pages/ib/transfer.vue

+ 4 - 2
pages/ib/transfer.vue

@@ -1,6 +1,6 @@
 <template>
     <cwg-page-wrapper class="create-page" :isHeaderFixed="true">
-        <cwg-header :title="t('Home.page_ib.item9')" />
+        <cwg-header :title="title" />
         <view id="custom_IbTransfer" class="transfer-page">
             <view class="main-content">
                 <!-- 步骤1:选择转出账户 -->
@@ -143,6 +143,7 @@ const tabsConfig = computed(() => [
     { text: t('Ib.Transfer.CommissionIssue'), value: 2, type: 'commissionIssue' },
     { text: t('Ib.Transfer.IbAccountTransfer'), value: 3, type: 'ib' },
 ])
+const title = computed(() => tabsConfig.value.find(item => item.value == activeTab.value)?.text || '')
 
 const toLabel = computed(() => activeTab.value == '1' || activeTab.value == '2' ? t('Label.IntoAccount') : t('Ib.Transfer.IbAccountTransfer'))
 
@@ -293,7 +294,8 @@ const depositDisplayList = computed(() => {
     if (activeTab.value != 3) {
         return toInfo.value.map(item => ({
             text: [item.login, item.platform, item.cId, item.balance, item.groupTypeName].filter(field => field !== null && field !== undefined && field !== '').join('-'),
-            value: item.login
+            value: item.login,
+            disabled: item.status
         }))
     } else {
         return agentInfo.value.map(item => ({