fix : svyYn가 false 일때만 가격조사 완료 버튼 생성

This commit is contained in:
Yesol Choi
2025-05-27 10:30:21 +09:00
parent 0ce7b8620f
commit d1b1834ae2

View File

@@ -40,6 +40,7 @@ const params = reactive({
cateSelect: '',
prcsNo: '', // 키값
stCdFalg: false, // 버튼 컴포넌트화
svyYn: false,
stCd:'',//결재상태 코드{ 등록중:0100[회수버튼],
// 회수: 0300, 반려: 0400, 등록 완료: 0200 }
prcsAttsColumn:[ //첨부파일 입력
@@ -76,6 +77,7 @@ const params = reactive({
})
function getDetailList(arg){
console.log("arg",arg)//svy_yn
if(!props.prcsNo){
params.stCdFalg = true
}
@@ -103,6 +105,7 @@ function getDetailList(arg){
attendNm: req.attendNm
})) //비고 데이터 없음, 승인일자 없음 todo
params.prcsAtts = arg.prcsAtts
params.svyYn = arg.svyYn
}
const updateState = async () => {
@@ -354,6 +357,7 @@ const onPrcsFileDownload = async (prcsNo: string, fileOrd: number, logiFnm: stri
<tr>
<td>견적요청</td>
<td colspan="6">
<slot name="status" v-if="!params.svyYn">
<div style="display: flex; justify-content: flex-end; gap: 8px;">
<!-- <VButton-->
<!-- color="primary"-->
@@ -372,6 +376,7 @@ const onPrcsFileDownload = async (prcsNo: string, fileOrd: number, logiFnm: stri
가격조사 완료
</VButton>
</div>
</slot>
<div class="mt-2">
<ComVFlexTable
:key="params.prcsBizs.length"