This commit is contained in:
xiaozhiyong
2023-02-13 13:11:08 +08:00
parent dc50eeea8a
commit 3796514d32
7 changed files with 57 additions and 69 deletions

View File

@@ -282,22 +282,17 @@ export default {
this.controlWindows.addInfo = { id: row.id };
this.controlWindows.adjust = true;
},
//删除
deleteRow(row) {
serve
.deleteRow({
id: row.id,
})
.then((res) => {
this.$message.success(res.msg);
this.getByPage();
});
},
//更多
commandMore(val, row) {
if (val === "base") {
this.controlWindows.addInfo.title = "产品修改";
Object.assign(this.controlWindows.addInfo, row);
this.controlWindows.addInfo = {
title: "产品修改",
...row,
};
console.log(
"this.controlWindows.addInfo",
this.controlWindows.addInfo.floorPrice
);
this.controlWindows.add = true;
}
},
@@ -328,7 +323,6 @@ export default {
this.$message.warning("请至少选择一条数据");
return;
}
this.controlWindows.batch = true;
},
//重置