|
@@ -114,7 +114,8 @@
|
|
|
allBtn() {
|
|
|
|
|
|
setTimeout(() => {
|
|
|
- this.money = this.canMoney; // 解决
|
|
|
+ this.money = this.canMoney.toFixed(2); // 解决
|
|
|
+
|
|
|
}, 0)
|
|
|
|
|
|
},
|
|
@@ -169,7 +170,7 @@
|
|
|
this.canMoney = this.canMoney - this.money
|
|
|
}
|
|
|
//人工审核
|
|
|
- if(res.code==0 && this.cashState==1){
|
|
|
+ if(res.code==0 && res.data.cashType ==1){
|
|
|
uni.showModal({
|
|
|
title: '提交成功',
|
|
|
content: '请耐心等待平台审核',
|
|
@@ -179,7 +180,7 @@
|
|
|
uni.hideLoading();
|
|
|
}
|
|
|
});
|
|
|
- }else if(res.code==0 && this.cashState==0){
|
|
|
+ }else if(res.code==0 && res.data.cashType ==0){
|
|
|
//自动审核
|
|
|
//轮询查询状态
|
|
|
uni.showToast({
|
|
@@ -198,7 +199,7 @@
|
|
|
}else{
|
|
|
this.checkOrderStatus()
|
|
|
}
|
|
|
- }else if(res.code==0 && this.cashState==2){
|
|
|
+ }else if(res.code==0 && res.data.cashType ==2){
|
|
|
//线下
|
|
|
uni.showToast({
|
|
|
title: '申请成功请等待平台审核',
|