From 0e08119ac2948940fd32675ada2b88e2c8682c37 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Wed, 24 May 2023 19:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/order/index.vue b/src/views/order/index.vue index 072bdeb..374f374 100644 --- a/src/views/order/index.vue +++ b/src/views/order/index.vue @@ -393,8 +393,15 @@ export default { }, // 下单确认 confirmSubmit(row) { - this.controlWindows.addInfo = row - this.controlWindows.confirmSubmit = true + // this.controlWindows.addInfo = row + // this.controlWindows.confirmSubmit = true + + serve.orderSuccess({ id: row.id }).then(res => { + if (res.code == 20000) { + this.$message.success(res.msg) + this.closeWindow() + } + }) }, //启用禁用 switchTrigger(val, row) {