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 @@ - - - - -