|
|
@@ -3,7 +3,7 @@
|
|
|
<div class="white-box">
|
|
|
<el-form ref="form" :model="form" label-width="200px" style="width:500px;">
|
|
|
<el-form-item label="Currently available bonus"><!-- 当前可用奖金 -->
|
|
|
- <el-tag type="success">{{balance}}₦</el-tag>
|
|
|
+ <el-tag type="success">{{balance}} ₦</el-tag>
|
|
|
</el-form-item>
|
|
|
<!--<el-form-item label="当前提现比例">-->
|
|
|
<!--<el-tag type="info">{{withdrawProp}}%</el-tag>-->
|
|
|
@@ -12,7 +12,7 @@
|
|
|
<!--<el-tag type="info">{{maxAmount}}元</el-tag>-->
|
|
|
<!--</el-form-item>-->
|
|
|
<el-form-item label="Minimum withdrawal amount"><!-- 最小提现金额 -->
|
|
|
- <el-tag type="info">{{minAmount}}₦</el-tag>
|
|
|
+ <el-tag type="info">{{minAmount}} ₦</el-tag>
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item label="Withdrawal charge"><!– 提现手续费 –>-->
|
|
|
<!-- <el-tag type="info">{{withdrawFee}}%</el-tag>-->
|
|
|
@@ -114,6 +114,7 @@
|
|
|
this.content = response.content
|
|
|
this.minAmount = Math.round(response.minAmount * response.exchangeRate * 100) / 100
|
|
|
this.withdrawFee = response.withdrawFee
|
|
|
+ this.exchangeRate = response.exchangeRate
|
|
|
this.getBalance()
|
|
|
}).catch(() => {
|
|
|
this.$router.go(-1)
|
|
|
@@ -142,6 +143,18 @@
|
|
|
console.log(tool.getStorage('withdrawAgree'))
|
|
|
let path = 'finance/withdraw-add'
|
|
|
|
|
|
+ // 判断是否达到最小提现金额
|
|
|
+ if ((this.form.applyAmount * this.exchangeRate) < this.minAmount) {
|
|
|
+ this.submitButtonStat = false
|
|
|
+
|
|
|
+ this.$message({
|
|
|
+ message: 'Withdrawal Amount no less than Minimum Withdrawal Amount', // 提现金额不能少于最少提现金额
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
+
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
network.getData('finance/wd-mult-point').then(response => {
|
|
|
this.form.withdrawCode = response.withdrawCode
|
|
|
|