Commit 46ef9ba6 authored by FE-安焕焕's avatar FE-安焕焕 👣

订单超市处理

parent 1f906032
...@@ -383,6 +383,10 @@ export default { ...@@ -383,6 +383,10 @@ export default {
/* 预支付 */ /* 预支付 */
async pay(params) { async pay(params) {
// 组合支付的提示和享花卡支付逻辑 // 组合支付的提示和享花卡支付逻辑
if (this.overtime) {
this.$toast('订单已超时!');
return;
}
this.error = ''; this.error = '';
if (this.isShowProtocol && !this.isCheckAgreement) { if (this.isShowProtocol && !this.isCheckAgreement) {
this.$toast('请仔细阅读并同意相关协议'); this.$toast('请仔细阅读并同意相关协议');
...@@ -510,7 +514,6 @@ export default { ...@@ -510,7 +514,6 @@ export default {
/* 支付时间超时 */ /* 支付时间超时 */
timeup() { timeup() {
this.overtime = true; this.overtime = true;
this.payType = null;
this.close(); this.close();
}, },
/* 获取支付密码 */ /* 获取支付密码 */
......
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