diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js index 2d7d12f6..9f1e481f 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js @@ -244,12 +244,10 @@ class Index extends Component { }; this.handleSaveDeduction(payload); } else { - f.showErrors(); - this.forceUpdate(); - // Modal.warning({ - // title: "信息确认", - // content: "必要信息不完整,红色*为必填项!" - // }); + Modal.warning({ + title: "信息确认", + content: "必要信息不完整,红色*为必填项!" + }); } }); }; diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/dataTables.js b/pc4mobx/hrmSalary/pages/dataAcquisition/dataTables.js index 58acfc56..e1ac75f4 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/dataTables.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/dataTables.js @@ -199,7 +199,7 @@ class DataTables extends Component { } }); let height = 280; - if (dataSource.length > 0) height = dataSource.length <= 10 ? dataSource.length * 46 + 108 : 500; + if (dataSource.length > 0) height = dataSource.length <= 10 ? dataSource.length * 46 + 124 : 500; return (