|
@@ -298,7 +298,7 @@
|
|
<view class="details withdrawHead" v-if="detailList.length&&info.applicationAmount">
|
|
<view class="details withdrawHead" v-if="detailList.length&&info.applicationAmount">
|
|
申请提现金额:{{info.applicationAmount}}元<br/>
|
|
申请提现金额:{{info.applicationAmount}}元<br/>
|
|
明细金额合计:<span :class="{
|
|
明细金额合计:<span :class="{
|
|
- red:itemApplicationAmountSum>info.applicationAmount
|
|
|
|
|
|
+ red:itemApplicationAmountSum>parseFloat(info.applicationAmount)
|
|
}">{{itemApplicationAmountSum}}元</span>
|
|
}">{{itemApplicationAmountSum}}元</span>
|
|
</view>
|
|
</view>
|
|
<view class="details" v-for="(item,i) in detailList" :key="i" >
|
|
<view class="details" v-for="(item,i) in detailList" :key="i" >
|
|
@@ -466,9 +466,9 @@
|
|
var itemAmount=obj.itemAmount?obj.itemAmount:0
|
|
var itemAmount=obj.itemAmount?obj.itemAmount:0
|
|
applicationAmount+=parseFloat(itemAmount)
|
|
applicationAmount+=parseFloat(itemAmount)
|
|
}
|
|
}
|
|
-
|
|
|
|
- if(applicationAmount){
|
|
|
|
- return applicationAmount
|
|
|
|
|
|
+
|
|
|
|
+ if(applicationAmount){
|
|
|
|
+ return parseFloat(applicationAmount).toFixed(2)
|
|
}else {
|
|
}else {
|
|
return '0'
|
|
return '0'
|
|
}
|
|
}
|
|
@@ -613,7 +613,7 @@
|
|
if(this.detailList&&this.detailList.length){
|
|
if(this.detailList&&this.detailList.length){
|
|
|
|
|
|
|
|
|
|
- if(!(this.itemApplicationAmountSum==this.info.applicationAmount)){
|
|
|
|
|
|
+ if(!(this.itemApplicationAmountSum==parseFloat(this.info.applicationAmount))){
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: `[申请提现金额]与[明细金额合计]不相等`
|
|
title: `[申请提现金额]与[明细金额合计]不相等`
|
|
})
|
|
})
|