fix เงินเดือนค่าจ้าง
This commit is contained in:
parent
c1a31a964e
commit
665b0cca24
3 changed files with 27 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, defineAsyncComponent } from "vue";
|
||||
|
||||
import { useRoute } from "vue-router";
|
||||
|
||||
import { useRegistryDetailNewDataStore } from "@/modules/04_registryPerson/stores/DetailMain";
|
||||
|
|
@ -40,8 +41,8 @@ const EmployeeMain = defineAsyncComponent(
|
|||
);
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
const store = useRegistryDetailNewDataStore();
|
||||
|
||||
const props = defineProps({
|
||||
fetchDataPersonal: { type: Function, require: true },
|
||||
});
|
||||
|
|
@ -63,7 +64,7 @@ const itemsTab = ref<ItemTab[]>([
|
|||
{
|
||||
name: "3",
|
||||
icon: "mdi-cash",
|
||||
label: "เงินเดือน/ค่าจ้าง",
|
||||
label: route.name === "registryNewByid" ? "เงินเดือน" : "ค่าจ้าง",
|
||||
},
|
||||
{
|
||||
name: "4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue