fix(command): sort

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-09-30 14:12:12 +07:00
parent 6d3c26d0af
commit 00fc7eac26
8 changed files with 109 additions and 212 deletions

View file

@ -22,7 +22,7 @@ export const useCommandListStore = defineStore("commandListStore", () => {
name: "commandNo",
align: "left",
label: "เลขที่คำสั่ง",
sortable: false,
sortable: true,
field: "commandNo",
format(val, row) {
return val
@ -47,7 +47,7 @@ export const useCommandListStore = defineStore("commandListStore", () => {
name: "commandAffectDate",
align: "left",
label: "วันที่ลงนาม",
sortable: false,
sortable: true,
field: "commandAffectDate",
format(val) {
return val ? date2Thai(val) : "-";
@ -59,7 +59,7 @@ export const useCommandListStore = defineStore("commandListStore", () => {
name: "commandExcecuteDate",
align: "left",
label: "วันที่คำสั่งมีผล",
sortable: false,
sortable: true,
field: "commandExcecuteDate",
format(val) {
return val ? date2Thai(val) : "-";
@ -71,7 +71,7 @@ export const useCommandListStore = defineStore("commandListStore", () => {
name: "createdFullName",
align: "left",
label: "ผู้สร้าง",
sortable: false,
sortable: true,
field: "createdFullName",
headerStyle: "font-size: 14px",
style: "font-size: 14px",