From d7247b7432d21a726bd4e106430c955145fa119c Mon Sep 17 00:00:00 2001 From: JenniferW <1627055433@qq.com> Date: Thu, 12 Jun 2025 10:55:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order/intention/index.vue | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/views/order/intention/index.vue b/src/views/order/intention/index.vue index c6936c3..5e93ae5 100644 --- a/src/views/order/intention/index.vue +++ b/src/views/order/intention/index.vue @@ -56,7 +56,7 @@ icon="Plus" @click="handleAdd" v-hasPermi="['order:intention:add']" - >新增订单/意向单新增 @@ -369,16 +369,12 @@ function handleUpdate(row) { /** 取消按钮操作 */ function handleDelete(row) { - const intentionIds = row.id ? [row.id] : ids.value; - ElMessageBox.confirm( - '是否确认取消意向订单编号为"' + intentionIds + '"的数据项?', - "警告", - { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - } - ) + const intentionType = row.type; + ElMessageBox.confirm("是否确认取消当前" + intentionType + "?", "警告", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) .then(() => { // 模拟取消 mockData.value = mockData.value.filter(