Merge remote-tracking branch 'origin/main'

This commit is contained in:
Yesol Choi
2025-05-29 09:20:17 +09:00
2 changed files with 33 additions and 10 deletions

View File

@@ -18,13 +18,13 @@ const links = ref<NavbarItem[]>([
label: '계약관리', label: '계약관리',
icon: '', icon: '',
}, },
{ // {
id: 'document', // id: 'document',
type: 'link', // type: 'link',
to: '/app/documentManagement', // to: '/app/documentManagement',
label: '전표관리', // label: '전표관리',
icon: '', // icon: '',
}, // },
{ {
id: 'payment', id: 'payment',
type: 'link', type: 'link',

View File

@@ -49,7 +49,7 @@ const params = reactive({
{ key: 'contAmt', label: '계약금액', format: formatCurrency }, { key: 'contAmt', label: '계약금액', format: formatCurrency },
{ key: 'contNo', label: '계약번호' }, { key: 'contNo', label: '계약번호' },
{ key: 'signDt', label: '계약체결일' }, { key: 'signDt', label: '계약체결일' },
{ key: 'charge', label: '대금청구' }, { key: 'charge', label: '대금청구', cellClass: 'is-justify-content-center' },
{ key: 'contStat', label: '계약상태' }, { key: 'contStat', label: '계약상태' },
], ],
}) })
@@ -182,7 +182,7 @@ function getContractDetail(){
</div> </div>
</div> </div>
<div class="datatable-wrapper"> <div class="datatable-wrapper">
<ComVFlexTable <VFlexTableCustomize
:data="data.contractData" :data="data.contractData"
:columns="params.flexColumn" :columns="params.flexColumn"
:separators="true" :separators="true"
@@ -190,7 +190,30 @@ function getContractDetail(){
:rounded="true" :rounded="true"
:compact="true" :compact="true"
@rowClick="getContractDetail" @rowClick="getContractDetail"
/> >
<!-- sendYn 컬럼 커스텀 렌더링 -->
<template #body-cell-charge="{ row }">
<div>
<VButton
v-if="row.contStat==='계약종료'"
color="info"
size="small"
to="/app/DocumentManagement"
@click.stop
>
대금청구
</VButton>
<span v-else></span>
</div>
</template>
<!-- 나머지 컬럼만 슬롯 사용 -->
<template #body-cell="{ column, index, value }">
<div>
<span v-if="column.key=='num'">{{index + 1}}</span>
<span v-else>{{ value }}</span>
</div>
</template>
</VFlexTableCustomize>
</div> </div>
</div> </div>
<VButtons class="is-right"> <VButtons class="is-right">