fix: comma input & i18n

This commit is contained in:
puriphatt 2024-10-09 09:43:18 +07:00
parent fb98ba3d32
commit 263a4fcedc
4 changed files with 13 additions and 8 deletions

View file

@ -302,7 +302,7 @@ let jobPositionENFilter = selectFilterOptionRefMod(
@update:model-value="
(v) => {
if (typeof v === 'string') wageRate4Show = commaInput(v);
const x = parseInt(
const x = parseFloat(
wageRate4Show && typeof wageRate4Show === 'string'
? wageRate4Show.replace(/,/g, '')
: '',