Commit 26c6369b authored by youjie's avatar youjie

优化

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