Commit a81dc074 by Nattana Chaiyamat

การจัดการข้อมูลองค์กร

ทะเบียนพนักงาน
ทะเบียนพนักงาน
parent d5bb7ff1
...@@ -598,12 +598,24 @@ export class SubEmployeeRegistrationComponent { ...@@ -598,12 +598,24 @@ export class SubEmployeeRegistrationComponent {
} }
} }
this.getBu1List() this.getBu1List()
this.getBu2List() if (this.employee.select.bu1.bu1id) {
this.getBu3List() this.getBu2List()
this.getBu4List() }
this.getBu5List() if (this.employee.select.bu2.bu2id) {
this.getBu6List() this.getBu3List()
this.getBu7List() }
if (this.employee.select.bu3.bu3id) {
this.getBu4List()
}
if (this.employee.select.bu4.bu4id) {
this.getBu5List()
}
if (this.employee.select.bu5.bu5id) {
this.getBu6List()
}
if (this.employee.select.bu6.bu6id) {
this.getBu7List()
}
} }
selectBoss(data: any) { selectBoss(data: any) {
this.employee.select.boss = new MyBossModel({ ...data, empType: data.empType.codeId }) this.employee.select.boss = new MyBossModel({ ...data, empType: data.empType.codeId })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment