diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js index c9d85ff8..47ec1a63 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js @@ -19,6 +19,12 @@ class AllWithoutPay extends Component { message.error(errormsg || "操作失败!"); } }); + }else if(key === "batchDeleteTodo"){ + if (selectedRowKeys.length === 0) { + message.warning("未选择条目"); + return; + } + console.log(selectedRowKeys); }else{ const { pageInfo } = this.props; if (pageInfo.total === 0) { @@ -48,6 +54,7 @@ class AllWithoutPay extends Component { 全部停薪 批量停薪 + 批量删除待办 ); } diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/index.js index e52b9e38..65a3fa93 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/index.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/index.js @@ -496,7 +496,7 @@ class Index extends Component { placement="bottomRight" content={ this.handleMenuClick(e, record.id)}> 停薪 - {/*删除待办*/} + 删除待办 } title="">