修改bug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user