This commit is contained in:
parent
f72430d42e
commit
d7247b7432
|
|
@ -56,7 +56,7 @@
|
|||
icon="Plus"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['order:intention:add']"
|
||||
>新增订单/意向单</el-button
|
||||
>新增</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue