add label tanggal MCU pre-register

This commit is contained in:
2026-04-28 08:28:37 +07:00
parent a4c1b39a66
commit fe6bbb8d2a

View File

@@ -633,7 +633,11 @@
<code v-if="props.item.uuid_form == ''" class="mb-0 font-weight-bold" <code v-if="props.item.uuid_form == ''" class="mb-0 font-weight-bold"
style="font-size: 10px;">kode form : Belum digenerate</code> style="font-size: 10px;">kode form : Belum digenerate</code>
</p> </p>
<p v-if="filterDateMCU == ''" class="mb-0" style="font-size: 10px">
Tanggal MCU: {{
formatDate(props.item.Mcu_PreregisterDateCheckinSchedule)
}}
</p>
</td> </td>
<td width="20%" @click="selectMe(props.item)" class="py-1 text-xs-right" <td width="20%" @click="selectMe(props.item)" class="py-1 text-xs-right"
v-bind:class="{ 'amber lighten-4': isSelected(props.item) }" v-bind:class="{ 'amber lighten-4': isSelected(props.item) }"
@@ -655,11 +659,13 @@
print print
</v-icon> </v-icon>
</v-btn> </v-btn>
<!-- <v-tooltip right> <!--
<template v-slot:activator="{ on }"> <v-tooltip right>
</template> <template v-slot:activator="{ on }">
</template>
<span>Print Barcode & Qrcode</span> <span>Print Barcode & Qrcode</span>
</v-tooltip> --> </v-tooltip>
-->
</td> </td>
</template> </template>
<template v-slot:footer> <template v-slot:footer>
@@ -2106,7 +2112,7 @@ module.exports = {
}, },
}, },
methods: { methods: {
formatDate() { formatDate(date) {
if (!date) return null; if (!date) return null;
const [year, month, day] = date.split('-'); const [year, month, day] = date.split('-');
return `${day}-${month}-${year}`; return `${day}-${month}-${year}`;