修改bug

This commit is contained in:
‘937886381’
2024-03-20 15:54:57 +08:00
parent 75309dd9ea
commit 6adbdac0a4
17 changed files with 254 additions and 137 deletions

View File

@@ -93,6 +93,7 @@ export default {
labelField: 'name',
valueField: 'id',
param: 'equipmentId',
filterable: true
},
{
type: 'input',
@@ -146,6 +147,26 @@ export default {
});
}
},
deleteHandle(id, name, index) {
this.$confirm(`是否确认删除设备物料bom${name}`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.urlOptions.deleteURL(id).then(({ data }) => {
this.$message({
message: "操作成功",
type: "success",
duration: 1500,
onClose: () => {
this.getDataList();
},
});
});
})
.catch(() => { });
},
getDict() {
getEquipmentList().then((res) => {
// console.log(res);