fix : 등록폼에서 '가격조사완료'시 이슈 해결

fix : 문구 견적요청 -> 견적서 확인 변경
This commit is contained in:
Kasi
2025-05-28 15:44:09 +09:00
parent 98c319b8fc
commit 2519c159ec
2 changed files with 7 additions and 6 deletions

View File

@@ -133,12 +133,12 @@ const onChangeFinal = async () => {
try {
loading.value = true
res = await putSurveyPrcsNo(params.prcsNo)
notyf.dismissAll()
if (res.request.status === 200) {
notyf.primary('가격조사 완료 되었습니다.')
router.push({path: '/app/contractManagement'})
}
} catch (e) {
console.log('error')
notyf.error(e.message)
} finally {
loading.value = false
@@ -294,7 +294,7 @@ const onPrcsFileDownload = async (prcsNo: string, fileOrd: number, logiFnm: stri
</tr>
<tr>
<td>첨부파일</td>
<td colspan="4">
<td colspan="9">
<div class="column is-12">
<VField>
<VLabel>첨부파일</VLabel>
@@ -320,11 +320,12 @@ const onPrcsFileDownload = async (prcsNo: string, fileOrd: number, logiFnm: stri
</td>
</tr>
<tr>
<td>견적요청</td>
<td>견적서확인</td>
<td colspan="9">
<slot name="status" v-if="!params.svyYn">
<slot name="status"
v-if="!params.svyYn"
>
<div style="display: flex; justify-content: flex-end; gap: 8px;">
<VButton
color="primary"
icon="fas fa-circle"

View File

@@ -231,7 +231,7 @@ export async function updatePrcsNo(param) {
export async function putSurveyPrcsNo(params = {}) {
try {
const result = await axios.put(`/api/prcs/survey/${params}`)
return result.data
return result
} catch (e) {
const serverError = e.response?.data;