diff --git a/src/components/app-vuero/VCustomTabs.vue b/src/components/app-vuero/VCustomTabs.vue new file mode 100644 index 0000000..8e61f92 --- /dev/null +++ b/src/components/app-vuero/VCustomTabs.vue @@ -0,0 +1,714 @@ + + + + + + + + + + toggle(tab.value)" + @click.prevent="() => toggle(tab.value)" + > + + + + {{ tab.label }} + + + + + + + + + + + + + + + + + + + diff --git a/src/pages/app/contractManagement.vue b/src/pages/app/contractManagement.vue index 2fdafa1..90bd76e 100644 --- a/src/pages/app/contractManagement.vue +++ b/src/pages/app/contractManagement.vue @@ -85,7 +85,7 @@ function getContractDetail(){ } //[0300 대금지급전 / 0400 대금지급중/ 0500 대금지급완료] function getBilling(row){ - if(params.sessionUser.sabun == row.regSabun && row.contStatCd == '0200'){ + if(params.sessionUser.sabun == row.regSabun && row.contStatCd == '0400'){ router.push({ path: '/app/documentManagementDetail', state: { key: row.contNo}}) } } @@ -236,7 +236,7 @@ function getBilling(row){ { selectCostCode.value = ''//코스트센터 kostl wbs요소코드 projk //코드 //첨부파일 - params.apprList = item.zwf0011t.apprs[0].value[0] + params.apprList = item.zwf0011t.apprs + console.log(params.apprList) } const affiliationCode = ref() @@ -123,6 +124,12 @@ const createChit = async () => { loading.value = false } } + +const selectedTab = ref() + +function addTabFromRow(){ + console.log("arguments",arguments) +} @@ -400,50 +407,31 @@ const createChit = async () => { 대금지급중 취 소 - + v-model:selected="selectedTab" + :tabs="params.apprList"> + + {{ tab.label }} + - + - - - - - - - - - - - - - + :compact="true" + @rowClick="addTabFromRow" + > + + {{ row[column.key] }} - + - + - -
+