基本配置修改 优化

This commit is contained in:
lizhenhua 2025-08-07 13:12:08 +08:00
parent 8d6c906733
commit be70055b42
2 changed files with 10 additions and 2 deletions

View File

@ -1370,6 +1370,10 @@
},
/** 删除按钮操作 */
handleDelete(row) {
if (Number(row.hasInventory) === 1) {
this.$modal.msgWarning("该物料仍有库存,无法删除!");
return;
}
this.$modal
.confirm("是否确认删除数据项?")
.then(function () {

View File

@ -583,6 +583,10 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
if (Number(row.hasInventory) === 1) {
this.$modal.msgWarning("该物料仍有库存,无法删除!");
return;
}
this.$modal
.confirm("是否确认删除数据项?")
.then(function () {