This commit is contained in:
JenniferW 2025-06-12 10:55:03 +08:00
parent f72430d42e
commit d7247b7432
1 changed files with 7 additions and 11 deletions

View File

@ -56,7 +56,7 @@
icon="Plus" icon="Plus"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['order:intention:add']" v-hasPermi="['order:intention:add']"
>新增订单/意向单</el-button >新增</el-button
> >
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
@ -369,16 +369,12 @@ function handleUpdate(row) {
/** 取消按钮操作 */ /** 取消按钮操作 */
function handleDelete(row) { function handleDelete(row) {
const intentionIds = row.id ? [row.id] : ids.value; const intentionType = row.type;
ElMessageBox.confirm( ElMessageBox.confirm("是否确认取消当前" + intentionType + "?", "警告", {
'是否确认取消意向订单编号为"' + intentionIds + '"的数据项?',
"警告",
{
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
} })
)
.then(() => { .then(() => {
// //
mockData.value = mockData.value.filter( mockData.value = mockData.value.filter(