diff --git a/src/modules/13_salary/components/04_salaryLists/TabMain.vue b/src/modules/13_salary/components/04_salaryLists/TabMain.vue index b606e5192..318c2f068 100644 --- a/src/modules/13_salary/components/04_salaryLists/TabMain.vue +++ b/src/modules/13_salary/components/04_salaryLists/TabMain.vue @@ -34,6 +34,7 @@ const props = defineProps({ rootId: { type: String, require: true }, periodId: { type: String, require: true }, roundFilter: { type: Object, require: true }, + snapShot: { type: String, require: true }, }); const total = ref(); @@ -632,6 +633,7 @@ const updateIsShowRetire = async () => { v-model:formFilter="formFilter" :fetchDataTable="fetchDataPeriodNew" :total="total" + :snap-shot="props?.snapShot" /> { :fetchDataTable="fetchDataPeriodNew" :total="total" :type="item.type" + :snap-shot="props?.snapShot" /> diff --git a/src/modules/13_salary/components/04_salaryLists/TableTypeOther.vue b/src/modules/13_salary/components/04_salaryLists/TableTypeOther.vue index 234588ae6..9b6d9d27f 100644 --- a/src/modules/13_salary/components/04_salaryLists/TableTypeOther.vue +++ b/src/modules/13_salary/components/04_salaryLists/TableTypeOther.vue @@ -29,6 +29,8 @@ const { dialogRemove, messageError, showLoader, hideLoader, success } = /** props*/ const formFilter = defineModel("formFilter", { required: true }); const maxPage = defineModel("maxPage", { required: true }); +const snapShot = defineModel("snapShot"); + const props = defineProps({ rows: { type: Array }, fetchDataTable: { @@ -295,7 +297,11 @@ watch(