update bom

This commit is contained in:
lb
2023-02-22 14:14:32 +08:00
parent 0f0226eaa1
commit 921506bd78
2 changed files with 23 additions and 23 deletions

View File

@@ -759,7 +759,7 @@ export default {
switch (type) {
case "delete": {
// 确认是否删除
return this.$confirm(`是否删除条目: ${data}`, "提示", {
return this.$confirm(`是否删除条目: ${data.name ?? data.material ? data.material : data.id}`, "提示", {
confirmButtonText: "确认",
cancelButtonText: "我再想想",
type: "warning",
@@ -769,7 +769,7 @@ export default {
this.$http({
url: this.urls.subase,
method: "DELETE",
data: [`${data}`],
data: [`${data.id}`],
}).then(({ data: res }) => {
if (res.code === 0) {
this.$message.success({