This commit is contained in:
parent
f72430d42e
commit
d7247b7432
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue