Commit 1fc19326 authored by ZJG's avatar ZJG

1

parent 07966cac
...@@ -376,7 +376,6 @@ ...@@ -376,7 +376,6 @@
}) })
return return
} }
uni.requestSubscribeMessage({ uni.requestSubscribeMessage({
tmplIds: [], tmplIds: [],
complete(res) { complete(res) {
...@@ -388,13 +387,14 @@ ...@@ -388,13 +387,14 @@
that.showModal = false; that.showModal = false;
if(that.msg.OrderStatus==0){//判断在全部列表的时候 改变他的状态 if(that.msg.OrderStatus==0){//判断在全部列表的时候 改变他的状态
if(that.Cancelmsg.Type==1){ if(that.Cancelmsg.Type==1){//代付款的取消
uni.showToast({ uni.showToast({
title: res.message, title: res.message,
icon: 'none' icon: 'none'
}) })
that.g[index].OrderStatus = 4; that.g[that.index].OrderStatus = 4;
that.g[index].IsApplyForCancel = 1; that.g[that.index].OrderStatusName = '已取消';
that.g[that.index].IsApplyForCancel = 1;
}else{ }else{
uni.showToast({ uni.showToast({
title: "取消成功,请等待审核", title: "取消成功,请等待审核",
...@@ -402,8 +402,9 @@ ...@@ -402,8 +402,9 @@
icon: "none", icon: "none",
duration: 2000, duration: 2000,
}); });
that.g[index].OrderStatus = 5; that.g[that.index].OrderStatus = 5;
that.g[index].IsApplyForCancel = 1; that.g[that.index].OrderStatusName = '待处理';
that.g[that.index].IsApplyForCancel = 1;
} }
}else{//在待付款的页面时候的操作处理 }else{//在待付款的页面时候的操作处理
if (that.Cancelmsg.Type == 1) { if (that.Cancelmsg.Type == 1) {
...@@ -422,7 +423,7 @@ ...@@ -422,7 +423,7 @@
// that.msg.pageIndex = 1; // that.msg.pageIndex = 1;
// that.g = []; // that.g = [];
// that.init(); // that.init();
this.change(5) that.change(5)
} }
} }
......
...@@ -497,7 +497,8 @@ ...@@ -497,7 +497,8 @@
fail: function(err) { fail: function(err) {
console.log('fail:', err); console.log('fail:', err);
uni.showToast({ uni.showToast({
title: "支付失败" title: "支付失败",
icon:'none'
}) })
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment