diff --git a/src/modules/13_salary/views/salaryRound.vue b/src/modules/13_salary/views/salaryRound.vue index e3ea41081..99776a592 100644 --- a/src/modules/13_salary/views/salaryRound.vue +++ b/src/modules/13_salary/views/salaryRound.vue @@ -161,13 +161,11 @@ function deleteData(id: string) { } function editPopup(data: RowList, status: string) { - console.log(data); if (status == "read") { isRead.value = true; } editCheck.value = true; dialog.value = true; - console.log(dialog.value); idRound.value = data.id; period.value = data.period ? data.period : ""; yearData.value = data.year ? data.year : 0; @@ -382,58 +380,90 @@ onMounted(async () => { {{ col.value }} - + + + +
+ +
+ {{ + dateToISO(new Date()) >= + dateToISO(props.row.effectiveDate) + ? "ดูข้อมูล" + : "แก้ไขข้อมูล" + }} +
+
+
+
+ + + +
+ +
ปิดรอบ
+
+
+
+ - {{ - dateToISO(new Date()) >= dateToISO(props.row.effectiveDate) - ? "ดูข้อมูล" - : "แก้ไขข้อมูล" - }} -
- - ปิดรอบ - - - ลบข้อมูล + clickable + v-close-popup + @click.stop=" dialogRemove($q, async () => await deleteData(props.row.id))" + > + +
+ +
ลบข้อมูล
+
+
+ + +