福利台账-调差页面点击保存时校验有误

This commit is contained in:
黎永顺 2022-12-06 15:18:40 +08:00
parent 672e697170
commit 499fe647a2
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ class AdjustTable extends Component {
const { adjustToOptions, categoryTypeOptions, key, target, ...extraParams } = record;
const month = getQueryString("billMonth");
const paymentOrg = getQueryString("paymentOrganization");
const bool = _.every(Object.keys(record), child => !!record[child]);
const bool = _.every(Object.keys({ ...extraParams, target }), child => !!{ ...extraParams, target }[child]);
if (!bool) {
Modal.warning({
title: "信息确认",