error: 콘솔에러 지우기 및 초기값 세팅

This commit is contained in:
Yesol Choi
2025-06-03 21:20:44 +09:00
parent bbdb1871e5
commit a5d2353e09
4 changed files with 14 additions and 12 deletions

View File

@@ -238,7 +238,7 @@ function getBilling(row){
<VButton
v-if="row.contStatCd==='0400'"
color="info"
size="small"
size="big"
@click.stop="getBilling(row)"
>
대금청구

View File

@@ -2,6 +2,7 @@
import {getSlipDetail, saveTempSlip} from "/@src/service/slipApi.ts";
import {formatDatefromStringDate} from "/@src/utils/common/comfunc.ts";
import {VTabsItem} from "/@src/components/app-vuero/VCustomTabs.vue";
onBeforeMount(async ()=>{
const result = await getSlipDetail(history.state.key)
@@ -58,11 +59,11 @@ const params = reactive({
page: 1,
row: 10,
flexColumn: [
{ key: 'btext', label: '이름'},
{ key: 'bname', label: '사원번호'},
{ key: 'posit', label: '부서'},
{ key: 'lineclsf', label: '담당'},
{ key: 'wkfst', label: '결재요청'},
{ key: 'btext', label: '이름', value: {} },
{ key: 'bname', label: '사원번호', value: {} },
{ key: 'posit', label: '부서', value: {} },
{ key: 'lineclsf', label: '담당', value: {} },
{ key: 'wkfst', label: '결재요청', value: {} },
],
apprList:[],
modalColumn: [],
@@ -125,10 +126,11 @@ const createChit = async () => {
}
}
const selectedTab = ref<string>()
const selectedTab = ref<VTabsItem[]>()
function addTabFromRow(){
console.log("arguments",arguments)
const addTabFromRow = (row,index) => {
console.log(row)
console.log(index)
}
</script>
@@ -417,7 +419,7 @@ function addTabFromRow(){
<template #tab="{ activeValue }">
<div>
<ComVFlexTable
:data="activeValue[0]"
:data="activeValue? activeValue[0] : []"
:columns="params.flexColumn"
:compact="true"
@rowClick="addTabFromRow"