1
jhzh
2025-04-14 a5601fbcdc19292b32423bea88e67fc9ab4422a6
pages/exchange/exchange-transaction.vue
@@ -148,7 +148,7 @@
                           {{ $t("exchange.c8") }}:
                        </view>
                        <view class="" style="font-weight: 500;font-size: 14px;color: #232533;">
                           {{ kypirce[0].usable_balance }} {{symbol.split('/')[0]}}
                           {{ kypirce[0].usable_balance.toFixed(8) }} {{symbol.split('/')[0]}}
                        </view>
                     </view>
                  </view>
@@ -650,13 +650,14 @@
                  this.form.amount = math.multiple(
                     this.targetBalance.usable_balance / this.form.entrust_price,
                     num,
                     4
                     8
                  );
               } else if (this.form.type == 1) {
                  this.form.amount = this.form.amount = math.multiple(
                     this.targetBalance.usable_balance,
                     num,
                     4
                     8
                  );
               }
            } else if (this.form.direction == "sell") {
@@ -664,7 +665,7 @@
               this.form.amount = math.multiple(
                  this.currentBalance.usable_balance,
                  num,
                  4
                  8
               );
            }
         },