diff --git a/src/pages/app/PriceInsert.vue b/src/pages/app/PriceInsert.vue index 7361377..f7bb004 100644 --- a/src/pages/app/PriceInsert.vue +++ b/src/pages/app/PriceInsert.vue @@ -2,6 +2,7 @@ import {deletePrcsFile, getPrcsFileDown, savePrice} from '/src/service/priceApi' import {type iPbAtt, Person} from '/@src/utils/types' import {formatBizNum,formatDatefromString} from "/@src/utils/common/comfunc.ts"; +import Control from "/@src/pages/components/forms/control.vue"; const notyf = useNotyf() const showTable = ref(false) @@ -204,9 +205,11 @@ const onFileChange = (e: any) => { } const onFilDelete = async ( index: number, fileOrd: number) => { - notyf.dismissAll() + const confirmed = confirm('삭제하시겠습니까?') if (index) { - pbAtts.value.splice(index, 1) + if (confirmed){ + pbAtts.value.splice(index, 1) + } } } @@ -308,7 +311,7 @@ function onInput(row, column){ @@ -353,7 +356,9 @@ function onInput(row, column){ @close="detailActionsOpen = false" >