Commit f7264b62 authored by youjie's avatar youjie

no message

parent 96dbc023
...@@ -189,6 +189,7 @@ ...@@ -189,6 +189,7 @@
ConfirmID: "", ConfirmID: "",
Amount: 0, Amount: 0,
}; };
order.orderStatus = 4
this.cancelOrder(cancelMsg,1) this.cancelOrder(cancelMsg,1)
clearInterval(null) clearInterval(null)
this.timers[order.erpOrderId] = null this.timers[order.erpOrderId] = null
...@@ -217,6 +218,7 @@ ...@@ -217,6 +218,7 @@
ConfirmID: "", ConfirmID: "",
Amount: 0, Amount: 0,
}; };
order.orderStatus = 4
this.cancelOrder(cancelMsg,1) this.cancelOrder(cancelMsg,1)
} }
}) })
...@@ -292,16 +294,15 @@ ...@@ -292,16 +294,15 @@
}) })
}, },
cancelOrder(postMsg,type) { cancelOrder(postMsg,type) {
if(type) return this.$emit('research');
this.apipost( this.apipost(
"post_CancelThirdHotelOrder", postMsg, "post_CancelThirdHotelOrder", postMsg,
(res) => { (res) => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
if(!type){ uni.showToast({
uni.showToast({ title: "操作成功",
title: "操作成功", icon: "success",
icon: "success", });
});
}
this.$emit('research'); this.$emit('research');
} }
}, },
......
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