เงินเดือนไม่มีค่าให้เป็นnull
This commit is contained in:
parent
6791dde26f
commit
0888d3d8d8
3 changed files with 30 additions and 15 deletions
|
|
@ -388,7 +388,7 @@ export class SalaryPeriodController extends Controller {
|
|||
if (body.type == "NONE") {
|
||||
salaryProfile.amountSpecial = 0;
|
||||
salaryProfile.amountUse = 0;
|
||||
salaryProfile.positionSalaryAmount = salaryProfile.amount;
|
||||
salaryProfile.positionSalaryAmount = salaryProfile.amount == null ? 0 : salaryProfile.amount;
|
||||
} else if (body.type == "PENDING") {
|
||||
salaryProfile.amountSpecial = 0;
|
||||
salaryProfile.amountUse = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue