Commit 808a2c09 authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_wm' into 'master'

提现金额

See merge request !129
parents 5e9fe1d1 71a93ecc
......@@ -10,7 +10,7 @@
type="number"
label="¥"
class="money"
maxlength="8"
:maxlength="maxValue"
center
@blur="onFillMoneyBlur"
@input="inputClick"
......@@ -124,7 +124,8 @@ export default {
textName: "",
validCodeDialogShow: false,
validCode: null,
time: 60
time: 60,
maxValue:8,
};
},
created() {
......@@ -164,6 +165,9 @@ export default {
inputClick() {
this.rate = this.money * 0.02;
this.account = this.money - this.rate;
let num = this.money
var re = /([0-9]+\.[0-9]{2})[0-9]*/;
this.money=num.replace(re,"$1");
},
canCashOut() {
const params = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment