Commit 79a369f2 authored by ZJG's avatar ZJG

1

parent 3252adbe
......@@ -376,9 +376,23 @@
})
return
}
uni.requestSubscribeMessage({
tmplIds: [],
complete(res) {
that.request2({
url: '/api/AppletOrder/CancelAppletMyOrder',
data: that.Cancelmsg
},
(res) => {
that.showModal = false;
if(that.msg.OrderStatus==0){//判断在全部列表的时候 改变他的状态
if(that.Cancelmsg.Type==1){
uni.showToast({
title: res.message,
icon: 'none'
})
that.g[index].OrderStatus = 4;
that.g[index].IsApplyForCancel = 1;
}else{
......@@ -411,59 +425,11 @@
this.change(5)
}
}
// uni.requestSubscribeMessage({
// tmplIds: [],
// complete(res) {
// that.request2({
// url: '/api/AppletOrder/CancelAppletMyOrder',
// data: that.Cancelmsg
// },
// (res) => {
// that.showModal = false;
// if(that.msg.OrderStatus==0){//判断在全部列表的时候 改变他的状态
// if(that.Cancelmsg.Type==1){
// uni.showToast({
// title: res.message,
// icon: 'none'
// })
// that.g[index].OrderStatus = 4;
// that.g[index].IsApplyForCancel = 1;
// }else{
// uni.showToast({
// title: "取消成功,请等待审核",
// position: "bottom",
// icon: "none",
// duration: 2000,
// });
// that.g[index].OrderStatus = 5;
// that.g[index].IsApplyForCancel = 1;
// }
// }else{//在待付款的页面时候的操作处理
// if (that.Cancelmsg.Type == 1) {
// uni.showToast({
// title: res.message,
// icon: 'none'
// })
// that.g.splice(that.index, 1);
// } else {
// uni.showToast({
// title: "取消成功,请等待审核",
// position: "bottom",
// icon: "none",
// duration: 2000,
// });
// // that.msg.pageIndex = 1;
// // that.g = [];
// // that.init();
// this.change(5)
// }
// }
// }
// );
// }
// })
}
);
}
})
},
getquxiao(item){//判断是否显示取消
let show = true
......
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