src/views/employeeSalary/salaryPlan/components/bomDialog.vue
@@ -38,7 +38,7 @@ <i class="el-icon-delete cursor_pointer" id="iconStyle" @click="handleDelete(scope.row.id, scope)" @click="handleDelete(scope)" ></i> </template> </el-table-column> @@ -102,7 +102,7 @@ }, 500); }); }, handleDelete(id, scope) { handleDelete(scope) { if (this.BomTableData.length === 1) { this.$message.warning("至少保留一条数据"); return;