refactor(qualify-period): hide type column in Table Position

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-11 15:07:00 +07:00
parent e998de2b95
commit 852f3226c1

View file

@ -212,17 +212,17 @@ const columnsPosition = ref<QTableProps["columns"]>([
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
}, },
{ // {
name: "type", // name: "type",
align: "left", // align: "left",
label: "ประเภทแบบฟอร์ม", // label: "",
sortable: true, // sortable: true,
field: "type", // field: "type",
headerStyle: "font-size: 14px", // headerStyle: "font-size: 14px",
style: "font-size: 14px", // style: "font-size: 14px",
sort: (a: string, b: string) => // sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), // a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
}, // },
]); ]);
const shouldShowPaymentFields = computed(() => { const shouldShowPaymentFields = computed(() => {
@ -1476,7 +1476,7 @@ onMounted(async () => {
</div> </div>
</q-td> </q-td>
<q-td key="type" :props="props"> <!-- <q-td key="type" :props="props">
<selector <selector
class="" class=""
outlined outlined
@ -1490,7 +1490,7 @@ onMounted(async () => {
lazy-rules lazy-rules
:rules="[(val:any) => !!val || `${'กรุณาเลือกประเภทแบบฟอร์ม'}`]" :rules="[(val:any) => !!val || `${'กรุณาเลือกประเภทแบบฟอร์ม'}`]"
></selector> ></selector>
</q-td> </q-td> -->
</q-tr> </q-tr>
</template> </template>
</ProfileTable> </ProfileTable>