| | |
| | | type="number" |
| | | placeholder="0" |
| | | size="small" |
| | | disabled /> |
| | | @input="handleSalaryInput(row)" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="工资个税" |
| | |
| | | const version = (recalcVersions.get(key) || 0) + 1; |
| | | recalcVersions.set(key, version); |
| | | clearTimeout(recalcTimers.get(key)); |
| | | const payload = { |
| | | staffOnJobId: getEmployeeKey(row), |
| | | salaryMonth: form.value.salaryMonth, |
| | | basicSalary: parseNum(row.basicSalary), |
| | | dayDays: parseNum(row.dayDays), |
| | | nightDays: parseNum(row.nightDays), |
| | | pieceSalary: parseNum(row.pieceSalary), |
| | | hourlySalary: parseNum(row.hourlySalary), |
| | | otherIncome: parseNum(row.otherIncome), |
| | | otherDeduct: parseNum(row.otherDeduct), |
| | | socialPersonal: parseNum(row.socialPersonal), |
| | | fundPersonal: parseNum(row.fundPersonal), |
| | | remark: row.remark ?? "", |
| | | }; |
| | | const payload = { |
| | | staffOnJobId: getEmployeeKey(row), |
| | | salaryMonth: form.value.salaryMonth, |
| | | basicSalary: parseNum(row.basicSalary), |
| | | dayDays: parseNum(row.dayDays), |
| | | nightDays: parseNum(row.nightDays), |
| | | pieceSalary: parseNum(row.pieceSalary), |
| | | hourlySalary: parseNum(row.hourlySalary), |
| | | otherIncome: parseNum(row.otherIncome), |
| | | otherDeduct: parseNum(row.otherDeduct), |
| | | socialPersonal: parseNum(row.socialPersonal), |
| | | fundPersonal: parseNum(row.fundPersonal), |
| | | socialSupplementAmount: parseNum(row.socialSupplementAmount), |
| | | remark: row.remark ?? "", |
| | | }; |
| | | recalcTimers.set( |
| | | key, |
| | | setTimeout(() => { |
| | |
| | | row.hourlySalary = parseNum(row.hourlySalary); |
| | | row.otherIncome = parseNum(row.otherIncome); |
| | | row.otherDeduct = parseNum(row.otherDeduct); |
| | | row.socialSupplementAmount = parseNum(row.socialSupplementAmount); |
| | | requestBackendRecalculate(row); |
| | | }; |
| | | |