|
@@ -583,10 +583,7 @@
|
|
|
API.startCarCharging(this.submitForm).then((res) => {
|
|
|
//(JSON.stringify(this.res))
|
|
|
|
|
|
- if(res.data.status=="1"){
|
|
|
- this.gotoUrl("pages/searchPile/chargeProcess/dcCharging?id=" + res.data.recordId);
|
|
|
-
|
|
|
- }else if(res.data.status=="5"){
|
|
|
+ if(res.data.status=="5"){
|
|
|
uni.hideLoading()
|
|
|
this.showmodal=true;
|
|
|
this.recordId=res.data.recordId;
|
|
@@ -596,6 +593,11 @@
|
|
|
|
|
|
this.fee=(fee-this.user.balance).toFixed(2);
|
|
|
this.otherNum_f=this.fee;
|
|
|
+ }else{
|
|
|
+
|
|
|
+ this.gotoUrl("pages/searchPile/chargeProcess/dcCharging?id=" + res.data.recordId);
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|