เพิ่มคำสั่งแต่งตั้ง เลื่อน ย้ายจากราชกิจจาฯ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-18 11:57:30 +07:00
parent db8046efdb
commit fa13be0a3e
10 changed files with 217 additions and 117 deletions

View file

@ -192,7 +192,9 @@ const baseColumns = ref<QTableColumn[]>([
field: "commandNo",
format(val, row) {
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",
@ -968,7 +970,8 @@ onMounted(async () => {
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
flat
:disable="
props.row.commandId !== null && props.row.commandId !== ''
(props.row.commandId !== null && props.row.commandId !== '') ||
props.row.commandType === 'C-PM-47'
"
:color="props.row.commandId ? 'grey' : 'edit'"
dense

View file

@ -197,7 +197,9 @@ const baseColumns = ref<QTableColumn[]>([
field: "commandNo",
format(val, row) {
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",
@ -928,7 +930,8 @@ onMounted(async () => {
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
flat
:disable="
props.row.commandId !== null && props.row.commandId !== ''
(props.row.commandId !== null && props.row.commandId !== '') ||
props.row.commandType === 'C-PM-47'
"
:color="props.row.commandId ? 'grey' : 'edit'"
dense