Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-10-29 14:41:13 +07:00
commit 92333b3545

View file

@ -94,11 +94,21 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px",
},
{
name: "positionIsSelected",
name: "isCondition",
align: "left",
label: "คนครอง",
label: "ตำแหน่งติดเงื่อนไง",
sortable: false,
field: "positionIsSelected",
field: "isCondition",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "conditionReason",
align: "left",
label: "หมายเหตุ",
sortable: false,
field: "conditionReason",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
@ -428,7 +438,10 @@ onMounted(async () => {
:key="col.name"
:props="props"
>
<div>
<div v-if="col.name === 'isCondition'">
<q-icon name="check" color="primary" />
</div>
<div v-else>
{{ col.value ? col.value : "-" }}
</div>
</q-td>