diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js index 47ec1a63..c9d85ff8 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js @@ -19,12 +19,6 @@ 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) { @@ -54,7 +48,6 @@ class AllWithoutPay extends Component {
); } diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/index.js index 65a3fa93..5655e499 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/index.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/index.js @@ -287,6 +287,7 @@ class Index extends Component { selectedRowKeys: [] }, () => { this.query(); + this.queryTabTotal(); }); } else { message.error(errormsg || "操作失败!"); @@ -397,14 +398,14 @@ class Index extends Component { verticalAlign: "middle" }}/> , - // , + , , @@ -591,6 +592,7 @@ class Index extends Component { handleChangeTab = (selectedKey) => { const { slideParams, pageInfo } = this.state; this.setState({ + selectedRowKeys: [], slideParams: { ...slideParams, visible: false, id: "" }, selectedKey, pageInfo: {