견적서
This commit is contained in:
parent
4fccfbb621
commit
44323266e5
@ -1071,6 +1071,7 @@ export default function Estimate({ params }) {
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
{/* 첨부파일 목록 시작 */}
|
{/* 첨부파일 목록 시작 */}
|
||||||
|
{originFiles.length > 0 && (
|
||||||
<div className="common-table bt-able">
|
<div className="common-table bt-able">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -1083,8 +1084,7 @@ export default function Estimate({ params }) {
|
|||||||
<td>
|
<td>
|
||||||
<div className="drag-file-box">
|
<div className="drag-file-box">
|
||||||
<ul className="file-list">
|
<ul className="file-list">
|
||||||
{originFiles.length > 0 &&
|
{originFiles.map((originFile) => {
|
||||||
originFiles.map((originFile) => {
|
|
||||||
return (
|
return (
|
||||||
<li className="file-item" key={uuidv4()}>
|
<li className="file-item" key={uuidv4()}>
|
||||||
<span onClick={() => handleEstimateFileDownload(originFile)}>
|
<span onClick={() => handleEstimateFileDownload(originFile)}>
|
||||||
@ -1108,6 +1108,7 @@ export default function Estimate({ params }) {
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
{/* 첨부파일 목록 끝 */}
|
{/* 첨부파일 목록 끝 */}
|
||||||
{/* 파일첨부 끝 */}
|
{/* 파일첨부 끝 */}
|
||||||
{/* 견적특이사항 시작 */}
|
{/* 견적특이사항 시작 */}
|
||||||
|
|||||||
@ -150,6 +150,7 @@ export const useEstimateController = (planNo) => {
|
|||||||
if (estimateData.fileList.length < 1) {
|
if (estimateData.fileList.length < 1) {
|
||||||
if (estimateData.itemList.length > 1) {
|
if (estimateData.itemList.length > 1) {
|
||||||
estimateData.itemList.map((row) => {
|
estimateData.itemList.map((row) => {
|
||||||
|
if (row.delFlg === '0') {
|
||||||
if (row.fileUploadFlg === '1') {
|
if (row.fileUploadFlg === '1') {
|
||||||
if (fileFlg) {
|
if (fileFlg) {
|
||||||
if (estimateData.fileFlg === '0') {
|
if (estimateData.fileFlg === '0') {
|
||||||
@ -158,6 +159,7 @@ export const useEstimateController = (planNo) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user