| src/views/hrm/salary/calculation/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/hrm/salary/calculation/index.vue
@@ -220,7 +220,14 @@ return; } const count = await deleteSalaryCalculationBatch(ids); message.success(`已删除 ${count ?? ids.length} 条核算记录`); if (typeof count === 'number' && count < ids.length) { // 已被工资发放引用的记录会被后端跳过,避免发放明细变成孤儿数据 message.warning( `已删除 ${count} 条,${ids.length - count} 条已进入工资发放流程,已跳过`, ); } else { message.success(`已删除 ${count ?? ids.length} 条核算记录`); } handleRefresh(); }