mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-19 21:05:06 +09:00
fix : 승인일자 중앙정렬, 승인일자 함수 씌우기 , update 중앙정렬 문제 미해결
This commit is contained in:
@@ -56,7 +56,7 @@ const params = reactive({
|
|||||||
{ key: 'name', label: '이름' },
|
{ key: 'name', label: '이름' },
|
||||||
{ key: 'attendNm', label: '근태' },
|
{ key: 'attendNm', label: '근태' },
|
||||||
{ key: 'apprStat', label: '결재상태'},
|
{ key: 'apprStat', label: '결재상태'},
|
||||||
{ key: 'apprDt', label: '승인일자'},
|
{ key: 'apprDt', label: '승인일자', align: 'center'},
|
||||||
],
|
],
|
||||||
priceData:[],
|
priceData:[],
|
||||||
prcsBizsColumn: [],
|
prcsBizsColumn: [],
|
||||||
@@ -132,7 +132,7 @@ function getDetailList(arg){
|
|||||||
apprNo: req.apprNo,
|
apprNo: req.apprNo,
|
||||||
apprOrd: req.apprOrd,
|
apprOrd: req.apprOrd,
|
||||||
apprStat: req.apprStat,
|
apprStat: req.apprStat,
|
||||||
apprDt: formatDateHourMinutefromString(req.apprDt),
|
apprDt: req.apprDt ? formatDateHourMinutefromString(req.apprDt) : '-',
|
||||||
attendNm: req.attendNm
|
attendNm: req.attendNm
|
||||||
})) //비고 데이터 없음, 승인일자 없음 todo
|
})) //비고 데이터 없음, 승인일자 없음 todo
|
||||||
params.prcsAtts = arg.prcsAtts
|
params.prcsAtts = arg.prcsAtts
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {getDetailPrcs, updatePrice, deletePrcsFile} from '/src/service/priceApi'
|
import {getDetailPrcs, updatePrice, deletePrcsFile} from '/src/service/priceApi'
|
||||||
import {type iPbAtt, type Person} from '/@src/utils/types'
|
import {type iPbAtt, type Person} from '/@src/utils/types'
|
||||||
import {formatBizNum, formatDatefromString} from "/@src/utils/common/comfunc.ts";
|
import {formatBizNum, formatDatefromString, formatDateHourMinutefromString} from "/@src/utils/common/comfunc.ts";
|
||||||
const notyf = useNotyf()
|
const notyf = useNotyf()
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
@@ -92,7 +92,7 @@ function getDetailList(arg){
|
|||||||
apprNo: req.apprNo,
|
apprNo: req.apprNo,
|
||||||
apprOrd: req.apprOrd,
|
apprOrd: req.apprOrd,
|
||||||
apprStat: req.apprStat,
|
apprStat: req.apprStat,
|
||||||
apprDt: req.apprDt ? req.apprDt : '-',
|
apprDt: req.apprDt ? formatDateHourMinutefromString(req.apprDt) : '-',
|
||||||
attendCd: req.attendCd
|
attendCd: req.attendCd
|
||||||
}))
|
}))
|
||||||
params.prcsAtts = arg.prcsAtts
|
params.prcsAtts = arg.prcsAtts
|
||||||
@@ -239,9 +239,6 @@ const onPriceDelete = (index: number) => {
|
|||||||
if(apprLine.value.length-1 !== params.felxColumn.length
|
if(apprLine.value.length-1 !== params.felxColumn.length
|
||||||
|| (params.felxColumn.length == 8 && apprLine.value.length-1 == params.felxColumn.length))
|
|| (params.felxColumn.length == 8 && apprLine.value.length-1 == params.felxColumn.length))
|
||||||
{
|
{
|
||||||
console.log("index 삭제",index)
|
|
||||||
console.log("params.felxColumn.length",params.felxColumn.length)
|
|
||||||
console.log("params.felxColumn.length",apprLine.value.length)
|
|
||||||
apprLine.value.splice(index, 1)
|
apprLine.value.splice(index, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -663,7 +660,8 @@ const moveDown = (index: number) => {
|
|||||||
v-model="row.attendCd">
|
v-model="row.attendCd">
|
||||||
</VCodeSelect>
|
</VCodeSelect>
|
||||||
</VField>
|
</VField>
|
||||||
</span>
|
</span>
|
||||||
|
<span v-else-if="column.key === 'apprDt'" class='text-center'>{{value}}</span>
|
||||||
<span v-else-if="column.key === 'actions'" class="flex gap-1">
|
<span v-else-if="column.key === 'actions'" class="flex gap-1">
|
||||||
<VCustomButton v-if="index != 1" @click="moveUp(index)" icon="lucide:arrow-up" />
|
<VCustomButton v-if="index != 1" @click="moveUp(index)" icon="lucide:arrow-up" />
|
||||||
<VCustomButton @click="moveDown(index)" icon="lucide:arrow-down" />
|
<VCustomButton @click="moveDown(index)" icon="lucide:arrow-down" />
|
||||||
|
|||||||
Reference in New Issue
Block a user