zhb vor 1 Woche
Ursprung
Commit
7cc68523fa

+ 1 - 2
pages/customer/deposit-select.vue

@@ -1697,7 +1697,7 @@ const showTable = () => {
 }
 const loginComboxOptions = computed(() => {
     return loginOptions.value.map((item) => ({
-        text: item.label,
+        text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
         value: item.login,
       disable: item.disable,
     }))
@@ -1724,7 +1724,6 @@ const getDateList = async () => {
     if (res.code == Code.StatusOK) {
         loginOptions.value = res.data.map(item => ({
             ...item,
-            label: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
           disable: item.closeFunctions.includes('1')
         }))
         const pages = getCurrentPages()

+ 8 - 2
pages/customer/deposit.vue

@@ -1625,7 +1625,7 @@ const showTable = (type) => {
 }
 const loginComboxOptions = computed(() => {
     return loginOptions.value.map((item) => ({
-        text: item.label,
+        text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
         value: item.login
     }))
 })
@@ -1650,7 +1650,6 @@ const getDateList = async () => {
     if (res.code == Code.StatusOK) {
         loginOptions.value = res.data.map(item => ({
             ...item,
-            label: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
             disable: item.closeFunctions.includes('1')
         }))
         const pages = getCurrentPages()
@@ -1926,6 +1925,12 @@ watch(channelId, async (newVal) => {
         setTipsAmount()
     }
 });
+
+watch(locale, async (newVal) => {
+    if (newVal) {
+        setTipsAmount()
+    }
+});
 watch(isStep3, async (newVal) => {
     if (newVal) {
         await nextTick();
@@ -1935,6 +1940,7 @@ watch(isStep3, async (newVal) => {
         formRef.value?.clearValidate();
     }
 });
+
 // Watch
 watch(loginValue, (login) => {
     if (login) {

+ 1 - 2
pages/customer/withdrawal-select.vue

@@ -802,7 +802,7 @@ const dialogSuccess = computed(() => dialogCheck.value && dialogVisible.value)
 const dialogError = computed(() => dialogCheck.value && !dialogVisible.value)
 const loginComboxOptions = computed(() => {
   return loginOptions.value.map((item, index) => ({
-    text: item.label,
+    text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
     value: item.login,
     disable: item.disable,
   }))
@@ -1589,7 +1589,6 @@ async function getDateList() {
   if (res.code == Code.StatusOK) {
     loginOptions.value = res.data.map(item => ({
       ...item,
-      label: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
       // 关闭的功能
       disable: item.closeFunctions.includes('2')
     }))

+ 1 - 2
pages/customer/withdrawal.vue

@@ -1059,7 +1059,7 @@ const dialogSuccess = computed(() => dialogCheck.value && dialogVisible.value)
 const dialogError = computed(() => dialogCheck.value && !dialogVisible.value)
 const loginComboxOptions = computed(() => {
   return loginOptions.value.map((item, index) => ({
-    text: item.label,
+    text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
     value: item.login
   }))
 })
@@ -1837,7 +1837,6 @@ async function getDateList() {
   if (res.code == Code.StatusOK) {
     loginOptions.value = res.data.map(item => ({
       ...item,
-      label: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
       disable: item.closeFunctions.includes('2')
     }))
     const route = getCurrentPages().pop().$page.options

+ 1 - 1
pages/ib/withdraw-select.vue

@@ -858,7 +858,7 @@ const validateAmount = () => {
 // ---------- 计算属性 ----------
 const loginComboxOptions = computed(() => {
     return loginOptions.value.map((item, index) => ({
-        text: item.label,
+        text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
         value: item.login
     }))
 })

+ 1 - 1
pages/ib/withdraw.vue

@@ -1172,7 +1172,7 @@ const validateAmount = () => {
 // ---------- 计算属性 ----------
 const loginComboxOptions = computed(() => {
     return loginOptions.value.map((item, index) => ({
-        text: item.label,
+        text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${item.balance}`,
         value: item.login
     }))
 })