diff --git a/src/modules/13_salary/components/SalaryEmployeeLists/ProcessStep.vue b/src/modules/13_salary/components/SalaryEmployeeLists/ProcessStep.vue
index 4e49670df..346d04a65 100644
--- a/src/modules/13_salary/components/SalaryEmployeeLists/ProcessStep.vue
+++ b/src/modules/13_salary/components/SalaryEmployeeLists/ProcessStep.vue
@@ -7,9 +7,11 @@ import config from "@/app.config";
import DialogPopupReason from "@/components/Dialogs/PopupReason.vue"; //หมายเหตุ
import { useCounterMixin } from "@/stores/mixin";
+import { useSalaryEmployeeListSDataStore } from "@/modules/13_salary/store/SalaryEmployeeListsStore";
const $q = useQuasar(); //ใช้ noti quasar
const mixin = useCounterMixin();
+const store = useSalaryEmployeeListSDataStore();
const { messageError, dialogConfirm, showLoader, hideLoader, success } = mixin;
const props = defineProps({
@@ -173,7 +175,7 @@ function sendAndRecommend(title: string, typeOrder: string) {
+
diff --git a/src/modules/13_salary/components/SalaryEmployeeLists/TabMain.vue b/src/modules/13_salary/components/SalaryEmployeeLists/TabMain.vue
index 17b0470ef..56747c560 100644
--- a/src/modules/13_salary/components/SalaryEmployeeLists/TabMain.vue
+++ b/src/modules/13_salary/components/SalaryEmployeeLists/TabMain.vue
@@ -221,6 +221,7 @@ function fetchDataQuota(id: string) {
.then((res) => {
const data = res.data.result;
store.remaining = data.remaining;
+ store.statusQuota = data.status;
itemsCard.value[0].total = data.total;
itemsCard.value[1].total = data.fifteenPercent;
itemsCard.value[2].total = data.chosen;
diff --git a/src/modules/13_salary/store/SalaryEmployeeListsStore.ts b/src/modules/13_salary/store/SalaryEmployeeListsStore.ts
index 880ae97de..c7a7f6900 100644
--- a/src/modules/13_salary/store/SalaryEmployeeListsStore.ts
+++ b/src/modules/13_salary/store/SalaryEmployeeListsStore.ts
@@ -26,6 +26,7 @@ export const useSalaryEmployeeListSDataStore = defineStore(
const roundYear = ref(0);
const roundCode = ref("");
const isClosedRound = ref(false); // การปิดรอบ
+ const statusQuota = ref("");
/** List Menu*/
const itemMenu = ref([
{
@@ -157,6 +158,7 @@ export const useSalaryEmployeeListSDataStore = defineStore(
remaining,
isClosedRound,
roundYear,
+ statusQuota,
};
}
);