fix การแสดง เลขที่คำสั่ง
This commit is contained in:
parent
11631b733b
commit
6097caf22d
3 changed files with 17 additions and 2 deletions
|
|
@ -176,6 +176,11 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
label: "ตำแหน่งทางการบริหาร",
|
label: "ตำแหน่งทางการบริหาร",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "positionExecutive",
|
field: "positionExecutive",
|
||||||
|
format(val, row) {
|
||||||
|
return !row.positionExecutiveField
|
||||||
|
? val
|
||||||
|
: `${val} (${row.positionExecutiveField})`;
|
||||||
|
},
|
||||||
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) =>
|
||||||
|
|
@ -189,7 +194,9 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
field: "commandNo",
|
field: "commandNo",
|
||||||
format(val, row) {
|
format(val, row) {
|
||||||
return row.commandNo && row.commandYear
|
return row.commandNo && row.commandYear
|
||||||
? `${row.commandNo}/${Number(row.commandYear) + 543}`
|
? row.commandType !== "C-PM-47"
|
||||||
|
? `${row.commandNo}/${Number(row.commandYear) + 543}`
|
||||||
|
: `${row.commandNo}`
|
||||||
: "";
|
: "";
|
||||||
},
|
},
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,11 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
label: "ตำแหน่งทางการบริหาร",
|
label: "ตำแหน่งทางการบริหาร",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "positionExecutive",
|
field: "positionExecutive",
|
||||||
|
format(val, row) {
|
||||||
|
return !row.positionExecutiveField
|
||||||
|
? val
|
||||||
|
: `${val} (${row.positionExecutiveField})`;
|
||||||
|
},
|
||||||
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) =>
|
||||||
|
|
@ -173,7 +178,9 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
field: "commandNo",
|
field: "commandNo",
|
||||||
format(val, row) {
|
format(val, row) {
|
||||||
return row.commandNo && row.commandYear
|
return row.commandNo && row.commandYear
|
||||||
? `${row.commandNo}/${Number(row.commandYear) + 543}`
|
? row.commandType !== "C-PM-47"
|
||||||
|
? `${row.commandNo}/${Number(row.commandYear) + 543}`
|
||||||
|
: `${row.commandNo}`
|
||||||
: "";
|
: "";
|
||||||
},
|
},
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,7 @@ interface SalaryFormType {
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
templateDoc: string;
|
templateDoc: string;
|
||||||
order: number;
|
order: number;
|
||||||
|
commandType: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface NopaidFormType {
|
interface NopaidFormType {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue