release/2.17.1.2411.01

This commit is contained in:
lys 2024-11-27 14:49:03 +08:00
parent b0b67230ce
commit 154d69d850
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class Index extends Component {
const [__, fields] = this.state.conditions, { items } = fields;
_.forEach(items, o => {
if (getKey(o) === key && o.dataType === "number") {
if (_.isNaN(Number(value))) {
if (_.isNaN(Number(value)) || value.indexOf(" ") !== -1) {
const { baseTableStore: { VSSalaryFileForm } } = this.props;
message.warning(getLabel(111, "数值类型有误!"));
VSSalaryFileForm.updateFields({ [getKey(o)]: { value: "" } });