Commit 1fc19326 authored by ZJG's avatar ZJG

1

parent 07966cac
......@@ -376,7 +376,6 @@
})
return
}
uni.requestSubscribeMessage({
tmplIds: [],
complete(res) {
......@@ -388,13 +387,14 @@
that.showModal = false;
if(that.msg.OrderStatus==0){//判断在全部列表的时候 改变他的状态
if(that.Cancelmsg.Type==1){
if(that.Cancelmsg.Type==1){//代付款的取消
uni.showToast({
title: res.message,
icon: 'none'
})
that.g[index].OrderStatus = 4;
that.g[index].IsApplyForCancel = 1;
that.g[that.index].OrderStatus = 4;
that.g[that.index].OrderStatusName = '已取消';
that.g[that.index].IsApplyForCancel = 1;
}else{
uni.showToast({
title: "取消成功,请等待审核",
......@@ -402,8 +402,9 @@
icon: "none",
duration: 2000,
});
that.g[index].OrderStatus = 5;
that.g[index].IsApplyForCancel = 1;
that.g[that.index].OrderStatus = 5;
that.g[that.index].OrderStatusName = '待处理';
that.g[that.index].IsApplyForCancel = 1;
}
}else{//在待付款的页面时候的操作处理
if (that.Cancelmsg.Type == 1) {
......@@ -422,7 +423,7 @@
// that.msg.pageIndex = 1;
// that.g = [];
// that.init();
this.change(5)
that.change(5)
}
}
......
......@@ -497,7 +497,8 @@
fail: function(err) {
console.log('fail:', err);
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