diff --git a/src/modules/05_placement/components/Other/Detail.vue b/src/modules/05_placement/components/Other/Detail.vue index 9a914a036..07bb5e70d 100644 --- a/src/modules/05_placement/components/Other/Detail.vue +++ b/src/modules/05_placement/components/Other/Detail.vue @@ -6,20 +6,13 @@ import http from "@/plugins/http"; import config from "@/app.config"; import keycloak from "@/plugins/keycloak"; -import type { ResponseDataDetail } from "@/modules/05_placement/interface/response/Transfer"; -import type { - OtherdataInterface, - resApiData, -} from "@/modules/05_placement/interface/response/OhterMain"; +import type { resApiData } from "@/modules/05_placement/interface/response/OhterMain"; import type { QForm } from "quasar"; import type { DataProfile } from "@/modules/05_placement/interface/index/Main"; /** importComponents*/ - import CardProfile from "@/components/CardProfile.vue"; -import CurruncyInput from "@/components/CurruncyInput.vue"; - /** importStore*/ import { useCounterMixin } from "@/stores/mixin"; @@ -102,7 +95,7 @@ const onSubmit = async () => { positionTypeOld: positionTypeOld.value, positionLevelOld: positionLevelOld.value, positionNumberOld: posNo.value, - amountOld: Number(salary.value), + amountOld: salary.value.toString().replace(/,/g, ""), positionDate: date.value, militaryDate: militaryDate.value, reason: reason.value, @@ -145,6 +138,7 @@ onMounted(async () => { await fetchData(); }); +