diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx
index 2c12918b..65085072 100644
--- a/src/components/estimate/Estimate.jsx
+++ b/src/components/estimate/Estimate.jsx
@@ -1071,20 +1071,20 @@ export default function Estimate({ params }) {
{/* 첨부파일 목록 시작 */}
-
-
-
-
-
-
-
-
- | {getMessage('estimate.detail.header.fileList2')} |
-
-
-
- {originFiles.length > 0 &&
- originFiles.map((originFile) => {
+ {originFiles.length > 0 && (
+
+
+
+
+
+
+
+
+ | {getMessage('estimate.detail.header.fileList2')} |
+
+
+
+ {originFiles.map((originFile) => {
return (
-
handleEstimateFileDownload(originFile)}>
@@ -1101,13 +1101,14 @@ export default function Estimate({ params }) {
)
})}
-
-
- |
-
-
-
-
+
+
+ |
+
+
+
+
+ )}
{/* 첨부파일 목록 끝 */}
{/* 파일첨부 끝 */}
{/* 견적특이사항 시작 */}
diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js
index 4cb00aba..b3c662d7 100644
--- a/src/hooks/floorPlan/estimate/useEstimateController.js
+++ b/src/hooks/floorPlan/estimate/useEstimateController.js
@@ -150,11 +150,13 @@ export const useEstimateController = (planNo) => {
if (estimateData.fileList.length < 1) {
if (estimateData.itemList.length > 1) {
estimateData.itemList.map((row) => {
- if (row.fileUploadFlg === '1') {
- if (fileFlg) {
- if (estimateData.fileFlg === '0') {
- fileFlg = false
- return alert(getMessage('estimate.detail.save.requiredFileUpload'))
+ if (row.delFlg === '0') {
+ if (row.fileUploadFlg === '1') {
+ if (fileFlg) {
+ if (estimateData.fileFlg === '0') {
+ fileFlg = false
+ return alert(getMessage('estimate.detail.save.requiredFileUpload'))
+ }
}
}
}