feature/2.19.1.2501.01-双击编辑核算结果

This commit is contained in:
lys 2025-03-26 16:28:28 +08:00
parent 94c919603e
commit c4dff5d2b5
1 changed files with 3 additions and 0 deletions

View File

@ -194,6 +194,9 @@ class EditCalcTable extends Component {
};
updateSalaryItemVal = (payload) => {
const { routeParams: { salaryAcctRecordId } } = this.props;
if (!_.every(payload, (value) => {
return !_.isEmpty(value) && value !== null && value !== undefined && value !== "";
})) return;
salaryacctBatchUpdate({ ...payload, salaryAcctRecordId }).then(({ status, errormsg }) => {
if (status) {
message.success(getLabel(30700, "操作成功!"));