Commit 9ce328f8 authored by zhangjianguo's avatar zhangjianguo

提现判断

parent 23d6ece3
......@@ -16,7 +16,7 @@
<view class="tixian">
<view style='display: flex;flex-direction: row;align-items: center;'>
<Text :style="{'color':mainColor,'font-size':'18px'}">¥</Text>
<input class="uni-input" type='number' v-model="msg.AppliedMoney" placeholder="请输入提现金额" @input='liedMoney' style="font-size: 16px;margin-left: 5px;"/>
<input class="uni-input" type="digit" v-model="msg.AppliedMoney" placeholder="请输入提现金额" @input='liedMoney' style="font-size: 16px;margin-left: 5px;"/>
</view>
<Text @click='allmoney'>全部</Text>
</view>
......@@ -258,6 +258,13 @@
return false
}
}
if(this.msg.AppliedMoney>this.cash.CommissionWithdrawal){
uni.showToast({
title: '余额不足',
icon: "none"
});
return false
}
this.msg.Fee = Number(this.msg.Fee);
this.msg.RemitMoney = this.msg.AppliedMoney - this.msg.Fee; //最终提现要减去 手续费
......
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