release/2.15.1.2407.01

This commit is contained in:
黎永顺 2024-07-19 14:07:45 +08:00
parent af8a0a1bab
commit c16272755a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class PayrollItemsTable extends Component {
const { canEdit, dataType, pattern } = record;
return dataType === "number" ? <WeaInputNumber
disabled={!canEdit}
precision={pattern || 2}
precision={!_.isNil(pattern) ? pattern : 0}
value={text || 0}
onChange={(value) => onChangeIssueReissueValue(record.salaryItemId, value, "itemsByGroup", salarySobItemGroupId)}
/> : <WeaInput