From d30610dff56589a84f03f2a3ef6e2bcfbbd3c707 Mon Sep 17 00:00:00 2001 From: zhaotianfeng <12345678> Date: Sat, 14 Sep 2024 11:03:53 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=94=B6=E9=93=B6=E5=8F=B0=20=E5=95=86?= =?UTF-8?q?=E5=93=81=20=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/cashier/NewComponents/newHome.vue | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue b/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue index 413f089d0..68710ed3e 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue @@ -326,7 +326,7 @@ @fatherPendingOrdersName="fatherPendingOrdersName" > - 取消 + 取消 作废 取单 @@ -637,6 +637,11 @@ export default { name: '' } this.hangingAnOrder = false + + this.$message({ + message: '挂单成功', + type: 'success' + }); } } else { @@ -784,8 +789,16 @@ export default { return true // 保留不匹配的项 }) window.sessionStorage.setItem('pendingOrders', JSON.stringify(this.pendingOrdersList)) + + this.pickUpTheOrder = false + + this.$message({ + message: '取单成功', + type: 'success' + }); + } else { - this.$message.error('当前无存单 请存单后再作废') + this.$message.error('当前无存单 请存单后再取单') } }, //作废 下拉框是子组件 子组件通过数据监听 将数据发送给父组件 @@ -799,7 +812,10 @@ export default { }) window.sessionStorage.setItem('pendingOrders', JSON.stringify(this.pendingOrdersList)) - + this.$message({ + message: '作废成功', + type: 'success' + }); } else { this.$message.error('当前无存单 请存单后再作废') }