From dd3e5e53fcc2ec5e1909378e310f95e0cbdc347c Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Fri, 15 Aug 2025 16:12:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E8=AE=A2=E5=8D=95=E6=94=AF?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/banquet/combo/detail.vue | 27 +-- src/pages/banquet/order/detail.vue | 368 +++++++++++------------------ 2 files changed, 140 insertions(+), 255 deletions(-) diff --git a/src/pages/banquet/combo/detail.vue b/src/pages/banquet/combo/detail.vue index be2ec2d..9acf416 100644 --- a/src/pages/banquet/combo/detail.vue +++ b/src/pages/banquet/combo/detail.vue @@ -132,12 +132,6 @@ - @@ -203,12 +197,12 @@ - + - - + + - - - - 确定预定(做席后再支付) - 付定金锁定订单 + 付定金锁定订单 @@ -324,8 +314,6 @@ }, //表单验证 handleSubmit(reservation_type) { - // this.propShowOrder = true; - // console.log(this.orderInfo); this.orderInfo.reservation_type = reservation_type; //付款类型 this.$refs.form.validate() .then(({ @@ -334,7 +322,6 @@ }) => { if (valid) { this.orderInfo.address = this.address_string + this.orderInfo.street_name; - // console.log(this.orderInfo); this.addOrder(); } }) @@ -349,7 +336,9 @@ CommonApi.commonPost('/api/banquet/order/createOrder', this.orderInfo).catch((res) => { if (res.code === 1) { this.order_id = res.data.order_id; - this.propShowOrder = true; + uni.navigateTo({ + url: `/pages/banquet/order/detail?order_id=${res.data.order_id}` + }); } else { uni.$u.toast(res.msg); } @@ -460,4 +449,4 @@ }); - \ No newline at end of file + diff --git a/src/pages/banquet/order/detail.vue b/src/pages/banquet/order/detail.vue index 7c0af7b..e5f7f4a 100644 --- a/src/pages/banquet/order/detail.vue +++ b/src/pages/banquet/order/detail.vue @@ -1,29 +1,29 @@ @@ -73,8 +72,6 @@ - - - - -