fix(command): sort
This commit is contained in:
parent
6d3c26d0af
commit
00fc7eac26
8 changed files with 109 additions and 212 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue