Merge branch 'main' into feature/contract/250526

This commit is contained in:
Kasi
2025-05-26 18:00:52 +09:00
3 changed files with 17 additions and 20 deletions

View File

@@ -495,12 +495,14 @@ function onInput(row, column){
</template> </template>
</ComVFlexTable> </ComVFlexTable>
</div> </div>
<div style="display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px;">
<VButton <VButton
color="primary" color="primary"
@click.stop="savePriceOne" @click.stop="savePriceOne"
raised> raised>
등록 등록
</VButton> </VButton>
</div>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -213,7 +213,7 @@ const onChangeFinal = async () => {
<td colspan="2"> <td colspan="2">
<VButton <VButton
color='success' color='success'
icon="fas fa-plus" icon="fas"
elevated elevated
@click="detailActionsOpen = true" @click="detailActionsOpen = true"
> >
@@ -344,24 +344,24 @@ const onChangeFinal = async () => {
<td>견적요청</td> <td>견적요청</td>
<td colspan="6"> <td colspan="6">
<div style="display: flex; justify-content: flex-end; gap: 8px;"> <div style="display: flex; justify-content: flex-end; gap: 8px;">
<!-- <VButton-->
<!-- color="primary"-->
<!-- icon="fas"-->
<!-- elevated-->
<!-- @click="showTable = !showTable"-->
<!-- >-->
<!-- 견적사 확인-->
<!-- </VButton>-->
<VButton <VButton
color="primary" color="primary"
icon="fas fa-plus" icon="fas fa-circle"
elevated
@click="showTable = !showTable"
>
견적사 확인
</VButton>
<VButton
color="primary"
icon="fas fa-plus"
elevated elevated
@click="onChangeFinal" @click="onChangeFinal"
> >
가격조사 완료 가격조사 완료
</VButton> </VButton>
</div> </div>
<div v-if="showTable" class="mt-2"> <div class="mt-2">
<ComVFlexTable <ComVFlexTable
:key="params.prcsBizs.length" :key="params.prcsBizs.length"
:data="params.prcsBizs" :data="params.prcsBizs"
@@ -372,14 +372,7 @@ const onChangeFinal = async () => {
> >
<template #body-cell="{ row, column, index, value }"> <template #body-cell="{ row, column, index, value }">
<div> <div>
<!-- 다른 editable 컬럼은 input --> <span v-if="column.key=='num'">{{index + 1}}</span>
<input
:readonly=true
v-if="column.editable"
v-model="row[column.key]"
class="editable-input"
/>
<span v-else-if="column.key=='num'">{{index + 1}}</span>
<!-- readonly 출력 --> <!-- readonly 출력 -->
<span v-else>{{ value }}</span> <span v-else>{{ value }}</span>
</div> </div>

View File

@@ -42,7 +42,7 @@ const params = reactive({
{ key: 'name', label: '이름' }, { key: 'name', label: '이름' },
{ key: 'attendCd', label: '비고' }, { key: 'attendCd', label: '비고' },
{ key: 'apprStat', label: '결재상태'}, { key: 'apprStat', label: '결재상태'},
{ key: 'date', label: '승인일자'}, { key: 'apprDt', label: '승인일자'},
], ],
priceData:[], priceData:[],
prcsBizsColumn: [ //견적사 입력 prcsBizsColumn: [ //견적사 입력
@@ -498,6 +498,7 @@ function onInput(row, column){
</template> </template>
</ComVFlexTable> </ComVFlexTable>
</div> </div>
<div style="display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px;">
<VButton <VButton
color="primary" color="primary"
@click.stop="updatePriceOne" @click.stop="updatePriceOne"
@@ -511,6 +512,7 @@ function onInput(row, column){
> >
닫기 닫기
</VButton> </VButton>
</div>
</div> </div>
</div> </div>
</template> </template>