Fix ระบบทะเบียนประวัติผู้พ้นจากราชการ >> เลขที่ตำแหน่ง #1653

This commit is contained in:
Bright 2025-07-18 16:39:45 +07:00
parent d9a92eda9d
commit 0a89d0abb9
2 changed files with 2 additions and 2 deletions

View file

@ -5879,7 +5879,7 @@ export class ProfileController extends Controller {
: _data.profileSalary[0].positionExecutive,
posNo:
_data.profileSalary[0].posNoAbb && _data.profileSalary[0].posNo
? _data.profileSalary[0].posNoAbb + _data.profileSalary[0].posNo
? `${_data.profileSalary[0].posNoAbb} ${_data.profileSalary[0].posNo}`
: _data.profileSalary[0].posNo || "",
rootId: null,
root: _data.profileSalary[0].orgRoot == null ? null : _data.profileSalary[0].orgRoot,

View file

@ -2963,7 +2963,7 @@ export class ProfileEmployeeController extends Controller {
position: _data.position,
posNo:
_data.profileSalary[0].posNoAbb && _data.profileSalary[0].posNo
? _data.profileSalary[0].posNoAbb + _data.profileSalary[0].posNo
? `${_data.profileSalary[0].posNoAbb} ${_data.profileSalary[0].posNo}`
: _data.profileSalary[0].posNo || "",
employeeClass: _data.employeeClass == null ? null : _data.employeeClass,
govAge: Extension.CalculateGovAge(_data.dateAppoint, 0, 0),