Commit 11d74abe by Nattana Chaiyamat

ทะเบียนพนักงาน

parent f54f5b1f
......@@ -222,6 +222,7 @@
<label class="col-span-3 ti-form-label text-primary mt-2 align-center">รหัสพนักงาน<span
class="text-danger">*</span></label>
<input type="text" class="col-span-6 ti-form-input" [ngClass]="{'bg-input-readonly':modalType=='update'}"
oninput="this.value = this.value.replace(/[^a-zA-Z0-9\u0E00-\uFFFF]/g, '')" maxlength="15"
[readonly]="modalType=='update'" [(ngModel)]="employee.select.employeeId">
</div>
<div class="grid grid-cols-12 gap-x-6">
......
......@@ -487,6 +487,8 @@ export class SubEmployeeRegistrationComponent {
next: response => {
if (response.success) {
this.showAlert(response.message, 'success')
this.search = ""
this.searchChange()
this.getEmployeeList()
} else {
this.showAlert(response.message, 'error')
......@@ -583,6 +585,7 @@ export class SubEmployeeRegistrationComponent {
!this.employee.select.lname ||
!this.employee.select.empGroup.groupId ||
!this.employee.select.firstHireDate ||
!this.employee.select.resigndate ||
!this.employee.select.bu1.bu1id ||
!this.employee.select.bu2.bu2id ||
!this.employee.select.bu3.bu3id ||
......
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