|
@@ -213,13 +213,14 @@
|
|
|
|
|
|
return
|
|
|
}
|
|
|
- if(!this.info.amount){
|
|
|
+ var amount=0
|
|
|
+ if(!this.info.amount&&!this.info.cardAmount){
|
|
|
uni.showToast({
|
|
|
title: "可提现金额为0"
|
|
|
})
|
|
|
-
|
|
|
return
|
|
|
}
|
|
|
+ amount=(this.info.amount*100+this.info.cardAmount*100)/100;
|
|
|
|
|
|
uni.showLoading({
|
|
|
title: "加载中",
|
|
@@ -229,10 +230,12 @@
|
|
|
this.info.invoiceType=this.invoiceType
|
|
|
this.info.taxRate=this.taxRate
|
|
|
this.info.stationId=this.stationObj.id;
|
|
|
+
|
|
|
+
|
|
|
API.applyWithdraw(this.info).then((res) => {
|
|
|
|
|
|
uni.redirectTo({
|
|
|
- url:"/pagesFinance/user/applyResult?value="+this.info.amount
|
|
|
+ url:"/pagesFinance/user/applyResult?value="+amount
|
|
|
})
|
|
|
|
|
|
}).catch(error => {
|