Commit 54d82625 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/viitto/mallapp

parents 5c092454 00fc65ba
...@@ -650,7 +650,7 @@ export default { ...@@ -650,7 +650,7 @@ export default {
width: 750px; width: 750px;
height: 1344px; height: 1344px;
position: absolute; position: absolute;
top: -1344px; top: -2000px;
left: -750px; left: -1500px;
} }
</style> </style>
...@@ -610,7 +610,7 @@ export default { ...@@ -610,7 +610,7 @@ export default {
width: 750px; width: 750px;
height: 1344px; height: 1344px;
position: absolute; position: absolute;
top: -1344px; top: -2000px;
left: -750px; left: -1500px;
} }
</style> </style>
...@@ -572,7 +572,7 @@ export default { ...@@ -572,7 +572,7 @@ export default {
width: 750px; width: 750px;
height: 1344px; height: 1344px;
position: absolute; position: absolute;
top: -1344px; top: -2000px;
left: -750px; left: -1500px;
} }
</style> </style>
...@@ -591,7 +591,7 @@ export default { ...@@ -591,7 +591,7 @@ export default {
width: 750px; width: 750px;
height: 1344px; height: 1344px;
position: absolute; position: absolute;
top: -1344px; top: -2000px;
left: -750px; left: -1500px;
} }
</style> </style>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</view> </view>
<view class="center_l"> <view class="center_l">
<Text>预计佣金<Text :style="{color:mainColor}">{{item.Commission}}</Text></Text> <Text>{{item.CommissionState==1? '待返佣':'已返佣'}}<Text :style="{color:mainColor}">{{item.Commission}}</Text></Text>
<u-icon name="arrow" v-if='item.showdetail==false'></u-icon> <u-icon name="arrow" v-if='item.showdetail==false'></u-icon>
<u-icon name="arrow-down" v-if='item.showdetail==true'></u-icon> <u-icon name="arrow-down" v-if='item.showdetail==true'></u-icon>
</view> </view>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<view class="tixian"> <view class="tixian">
<view style='display: flex;flex-direction: row;align-items: center;'> <view style='display: flex;flex-direction: row;align-items: center;'>
<Text :style="{'color':mainColor,'font-size':'18px'}">¥</Text> <Text :style="{'color':mainColor,'font-size':'18px'}">¥</Text>
<input class="uni-input" type="digit" v-model="msg.AppliedMoney" placeholder="请输入提现金额" @input='liedMoney' style="font-size: 16px;margin-left: 5px;"/> <input class="uni-input" type="digit" :disabled='true' v-model="msg.AppliedMoney" placeholder="请输入提现金额" @input='liedMoney' style="font-size: 16px;margin-left: 5px;"/>
</view> </view>
<Text @click='allmoney'>全部</Text> <Text @click='allmoney'>全部</Text>
</view> </view>
...@@ -171,13 +171,14 @@ ...@@ -171,13 +171,14 @@
x.checked = false x.checked = false
}) })
this.list = WayList this.list = WayList
this.msg.AppliedMoney = Number(this.cash.CommissionWithdrawal)
this.msg.Fee = (Number(this.cash.WithdrawFee*0.01*this.msg.AppliedMoney)).toFixed(2);
} }
); );
}, },
allmoney(){ allmoney(){
this.msg.AppliedMoney = Number(this.cash.CommissionWithdrawal) // this.msg.AppliedMoney = Number(this.cash.CommissionWithdrawal)
this.msg.Fee = (Number(this.cash.WithdrawFee*0.01*this.msg.AppliedMoney)).toFixed(2); // this.msg.Fee = (Number(this.cash.WithdrawFee*0.01*this.msg.AppliedMoney)).toFixed(2);
}, },
liedMoney(val){ liedMoney(val){
this.msg.AppliedMoney = Number(val.target.value) this.msg.AppliedMoney = Number(val.target.value)
...@@ -198,7 +199,8 @@ ...@@ -198,7 +199,8 @@
uni.requestSubscribeMessage({ uni.requestSubscribeMessage({
tmplIds: that.cash.template_message_list, tmplIds: that.cash.template_message_list,
complete (res) { complete (res) {
if(that.msg.AppliedMoney==''){ console.log(that.msg.AppliedMoney)
if(that.msg.AppliedMoney<0){
uni.showToast({ uni.showToast({
title: "请输入提现金额", title: "请输入提现金额",
icon: "none" icon: "none"
......
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