validate
This commit is contained in:
parent
21a91881a4
commit
34acdbea0e
4 changed files with 297 additions and 154 deletions
|
|
@ -38,15 +38,6 @@ export const useRoundDataStore = defineStore(
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "amOut",
|
||||
align: "left",
|
||||
label: "ออก",
|
||||
sortable: true,
|
||||
field: "amOut",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "pm",
|
||||
align: "left",
|
||||
|
|
@ -56,15 +47,6 @@ export const useRoundDataStore = defineStore(
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "pmOut",
|
||||
align: "left",
|
||||
label: "ออก",
|
||||
sortable: true,
|
||||
field: "pmOut",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "note",
|
||||
align: "left",
|
||||
|
|
@ -91,12 +73,11 @@ export const useRoundDataStore = defineStore(
|
|||
let datalist: dataRowRound[] = data.map((e: dataRowRound) => {
|
||||
return {
|
||||
round:`${e.am}-${e.pmOut}`,
|
||||
am: e.am,
|
||||
amOut: e.amOut,
|
||||
pm: e.pm,
|
||||
pmOut: e.pmOut,
|
||||
am: `${e.am}-${e.amOut}`,
|
||||
pm: `${e.pm}-${e.pmOut}`,
|
||||
note: e.note === '' ? '-':e.note,
|
||||
status: e.status,
|
||||
isDefault: e.isDefault,
|
||||
};
|
||||
});
|
||||
rows.value = datalist;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue