Commit a9efade9 authored by 罗超's avatar 罗超

Merge branch 'B2C' of http://gitlab.oytour.com/zk123/jz_travel into B2C

parents 2e7a9c0b 26c6369b
...@@ -536,31 +536,25 @@ ...@@ -536,31 +536,25 @@
goCancelZK() { goCancelZK() {
let that = this let that = this
uni.showLoading() uni.showLoading()
wx.showModal({ that.apipost(
title: '提示', "GetCancelOrder_post", {
content: '确定取消订单?', OrderNo: that.OrderNo,
success: (tip) => { },
if (tip.confirm) { (res) => {
that.apipost( if (res.resultCode == 1) {
"GetCancelOrder_post", { uni.showToast({
OrderNo: that.OrderNo, title: "操作成功",
}, icon: "success",
(res) => { });
if (res.resultCode == 1) { that.setThemeHandle();
uni.showToast({ that.getOrderInfoHandler()
title: "操作成功", }
icon: "success", uni.hideLoading()
}); },
that.setThemeHandle(); (err) => {
that.getOrderInfoHandler() uni.hideLoading()
}
uni.hideLoading()
},
(err) => {}
);
}else uni.hideLoading()
} }
}) );
}, },
requeryHandle(){ requeryHandle(){
......
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