|
@@ -464,8 +464,24 @@ Page({
|
|
|
});
|
|
|
console.log(orderid_r);
|
|
|
that.delOrder(orderid_r);
|
|
|
- }
|
|
|
+ } else if (chargingOrder.chargPileStatus == 5) { //订单被删除
|
|
|
+ clearInterval(chargingStatus);
|
|
|
+ log.info('[充电中]', '[充电轮训]', '[chargPileStatus状态5订单被删除]', data);
|
|
|
+ wx.showModal({
|
|
|
+ showCancel: false,
|
|
|
+ content: '开启充电失败',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
+ });
|
|
|
+ console.log(orderid_r);
|
|
|
+ that.delOrder(orderid_r);
|
|
|
+ }
|
|
|
} else if (data && data.code == 500) {
|
|
|
+ if(data.msg == '没有充电桩实时充电状态'){
|
|
|
+ let url = `/pages/index/index`;
|
|
|
+ wx.reLaunch({
|
|
|
+ url
|
|
|
+ });
|
|
|
+ }
|
|
|
// console.info("ddddddddddddddddddddddddddd")
|
|
|
// console.info(that.data.orderid)
|
|
|
// console.info(userIdCache)
|