diff --git a/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue b/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue index 1da37e79e..b2dea615b 100644 --- a/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue +++ b/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue @@ -132,6 +132,17 @@ watch( } } ); + +/** + * class จัดรูปแบบแสดงระหว่างข้อมูลที่แก้ไขหรือแสดงเฉยๆ + * @param val ข้อมูล input สำหรับแก้ไขหรือไม่ + */ +const getClass = (val: boolean) => { + return { + "full-width inputgreen cursor-pointer": val, + "full-width cursor-pointer": !val, + }; +};