From 35ca6200a534564e69448a86dc6ce186a1c02a67 Mon Sep 17 00:00:00 2001 From: Yesol Choi Date: Tue, 27 May 2025 15:21:02 +0900 Subject: [PATCH 1/4] =?UTF-8?q?style=20:=20input=20box=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=20=EB=B3=80=EA=B2=BD=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/app/PriceInsert.vue | 13 ++++++++---- src/pages/app/priceUpdate.vue | 38 ++++++++++++++++++++++++----------- 2 files changed, 35 insertions(+), 16 deletions(-) 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" >