diff --git a/src/pages/app/contractUpdate.vue b/src/pages/app/contractUpdate.vue index d3927ef..fe08813 100644 --- a/src/pages/app/contractUpdate.vue +++ b/src/pages/app/contractUpdate.vue @@ -281,13 +281,11 @@ const onFileChange = (e, idx) => { } function removeFile(idx) { - pbAtts.value[idx] = null // 신규 파일 제거 - params.contAtts[idx] = null // 기존 파일도 제거(화면상 표시 안 됨) + pbAtts.value[idx] = null + params.contAtts[idx] = null } -// [추가] 다운로드 버튼: 기존 파일 다운로드 function downloadFile(file) { - // file.path가 실제 다운로드 가능한 URL이면 바로 열기 console.log(file) file.path = `https://svcm.hmsn.ink/api/cont/${file.contNo}/${file.fileOrd}` window.open(file.path, '_blank') @@ -657,9 +655,30 @@ const onChangeSign = async() => { /> 파일선택 - + {{ pbAtts[idx]?.logiFnm || params.contAtts?.[idx]?.logiFnm || '' }} +
+ +
{{ input.description }} @@ -668,56 +687,9 @@ const onChangeSign = async() => { {{ input.description }} (계약금액이 1,000만원 이상일 경우 인지세 납부확인서 첨부가 필수입니다.) -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - @@ -788,9 +760,6 @@ const onChangeSign = async() => { color: white; } } -button:nth-child(2) { - background-color: #AB9A6c; -} button:nth-child(3) { background-color: silver; }