fix : 전표폼 로드시, 첫번째값 선택되서 보이도록 세팅

This commit is contained in:
Yesol Choi
2025-06-05 10:42:34 +09:00
parent 3d797e701f
commit 0a9355c766
2 changed files with 7 additions and 2 deletions

View File

@@ -16,9 +16,12 @@ onBeforeMount(async ()=>{
result = await getSlipDetail(props.apprNo)
}
getDetailList(result)
apprLine.value = result.zwf0011t.apprs
selectedTab.value = apprLine.value[0].value
})
const notyf = useNotyf()
const apprLine = ref<VTabsItem[]>([])
const getDetailList = (item) => {
console.log("getDetailList",item)
params.contNo = item.contNo