+
เอกสารอ้างอิง
-
+
{{ props.row.reference ? props.row.reference : "-" }}
-
รายละเอียด
-
- {{ props.row.detail ? props.row.detail : "-" }}
-
-
-
-
เลขที่คำสั่ง
{{ props.row.refCommandNo ? props.row.refCommandNo : "-" }}
-
+
+
+
+
เอกสารอ้างอิง (ลงวันที่)
-
- {{ props.row.refCommandDate ? date2Thai(props.row.refCommandDate) : "-" }}
+
+ {{
+ props.row.refCommandDate
+ ? date2Thai(props.row.refCommandDate)
+ : "-"
+ }}
+
+
+
+
+
รายละเอียด
+
+ {{ props.row.detail ? props.row.detail : "-" }}
-
diff --git a/src/modules/13_salary/components/SalaryRound/DialogForm.vue b/src/modules/13_salary/components/SalaryRound/DialogForm.vue
index 619bf5f29..c153da265 100644
--- a/src/modules/13_salary/components/SalaryRound/DialogForm.vue
+++ b/src/modules/13_salary/components/SalaryRound/DialogForm.vue
@@ -21,7 +21,7 @@ const effective = defineModel
("effective", {
const isRead = defineModel("isRead", { required: true });
const year = defineModel("year");
const mixin = useCounterMixin();
-const { dialogConfirm, date2Thai, messageError } = mixin;
+const { dialogConfirm, date2Thai, messageError,success } = mixin;
const isReadonly = ref(false); // อ่านได้อย่างเดียว
const effectiveDate = ref(null);
/** ตัวแปร validate */
@@ -98,6 +98,7 @@ function editSummit() {
modal.value = false;
clearForm();
props.getData?.();
+ success($q,'บันทึกข้อมูลสำเร็จ')
})
.catch((e) => {
messageError($q, e);
@@ -119,6 +120,7 @@ function onSubmit() {
.then((res) => {
modal.value = false;
clearForm();
+ success($q,'บันทึกข้อมูลสำเร็จ')
props.getData?.();
})
.catch((e) => {
diff --git a/src/modules/13_salary/views/salaryRound.vue b/src/modules/13_salary/views/salaryRound.vue
index 99776a592..d6b4be995 100644
--- a/src/modules/13_salary/views/salaryRound.vue
+++ b/src/modules/13_salary/views/salaryRound.vue
@@ -22,6 +22,7 @@ const {
date2Thai,
dateToISO,
dialogConfirm,
+ success
} = mixin;
const dataStore = useSalaryDataStore();
const year = ref(0);
@@ -151,6 +152,7 @@ function deleteData(id: string) {
.delete(config.API.salaryPeriod() + `/${id}`)
.then((res) => {
getData();
+ success($q,'ลบข้อมูลสำเร็จ')
})
.catch((e) => {
messageError($q, e);