diff --git a/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue b/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue index 666c93cfd..b27fd04c8 100644 --- a/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue +++ b/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue @@ -1404,10 +1404,10 @@ onMounted(async () => { dense outlined v-model="formData.amount" - label="เงินเดือน" + :label="empType == '' ? 'เงินเดือน' : 'ค่าจ้าง'" mask="###,###,###,###" reverse-fill-mask - :rules="[(val:string) => !!val || `${'กรุณากรอกเงินเดือน'}`]" + :rules="[(val:string) => !!val || `กรุณากรอก${empType == '' ? 'เงินเดือน' : 'ค่าจ้าง'}`]" lazy-rules hide-bottom-space />